$ git clone -n https://src.fedoraproject.org/rpms/cockpit.git /var/lib/mock/f41-build-848722-164546/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/f41-build-848722-164546/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin 0a460f1a229ab267c8ac7de0b655a33db5fd9edb:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cockpit * [new ref] 0a460f1a229ab267c8ac7de0b655a33db5fd9edb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0a460f1 Update to 324 upstream release