$ git clone -n https://src.fedoraproject.org/rpms/rust-input.git /var/lib/mock/f40-build-2268941-54750/root/chroot_tmpdir/scmroot/rust-input Cloning into '/var/lib/mock/f40-build-2268941-54750/root/chroot_tmpdir/scmroot/rust-input'... $ git fetch origin 10c5bae7b393f96d32248c6cc2dbaffa6d4b821e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rust-input * [new ref] 10c5bae7b393f96d32248c6cc2dbaffa6d4b821e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 10c5bae Initial import; Fixes: RHBZ#2224961