$ git clone -n https://src.fedoraproject.org/rpms/xrootd.git /var/lib/mock/f40-build-795029-139926/root/chroot_tmpdir/scmroot/xrootd Cloning into '/var/lib/mock/f40-build-795029-139926/root/chroot_tmpdir/scmroot/xrootd'... $ git fetch origin 97467c8e5150de53abdbb0abaff2e3f60550fcc0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xrootd * [new ref] 97467c8e5150de53abdbb0abaff2e3f60550fcc0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 97467c8 Update to version 5.6.7