$ git clone -n https://src.fedoraproject.org/rpms/rust-target.git /var/lib/mock/f38-build-side-43-rust-devel-1413500-31444/root/chroot_tmpdir/scmroot/rust-target Cloning into '/var/lib/mock/f38-build-side-43-rust-devel-1413500-31444/root/chroot_tmpdir/scmroot/rust-target'... $ git fetch origin c066faafa6ed2e31ffb7359580ac1e1aef7fdfdd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rust-target * [new ref] c066faafa6ed2e31ffb7359580ac1e1aef7fdfdd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c066faa Prevent useless test-only binary from being installed