$ git clone -n https://src.fedoraproject.org/rpms/rust-url.git /var/lib/mock/f40-build-2040547-48365/root/chroot_tmpdir/scmroot/rust-url Cloning into '/var/lib/mock/f40-build-2040547-48365/root/chroot_tmpdir/scmroot/rust-url'... $ git fetch origin 36781a57cb6c1dcc4839f55f7846c8a0deeae525:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rust-url * [new ref] 36781a57cb6c1dcc4839f55f7846c8a0deeae525 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36781a5 Update to version 2.4.1; Fixes RHBZ#2235305