$ git clone -n https://src.fedoraproject.org/rpms/sudo-rs.git /var/lib/mock/f41-build-820170-152085/root/chroot_tmpdir/scmroot/sudo-rs Cloning into '/var/lib/mock/f41-build-820170-152085/root/chroot_tmpdir/scmroot/sudo-rs'... $ git fetch origin 19f0e8a804f51ccf2920c04d32652e6e5695ac94:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/sudo-rs * [new ref] 19f0e8a804f51ccf2920c04d32652e6e5695ac94 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 19f0e8a Update to version 0.2.3; Fixes RHBZ#2298066