$ git clone -n https://src.fedoraproject.org/rpms/createrepo_c.git /var/lib/mock/f41-build-847965-164378/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/f41-build-847965-164378/root/chroot_tmpdir/scmroot/createrepo_c'... $ git fetch origin f05eba43bccfd935be76c11ae197cbf338c30ab9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/createrepo_c * [new ref] f05eba43bccfd935be76c11ae197cbf338c30ab9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f05eba4 Update to 1.1.4