$ git clone -n https://src.fedoraproject.org/rpms/rust-rustc-demangle-capi.git /var/lib/mock/f45-build-44580-815/root/chroot_tmpdir/scmroot/rust-rustc-demangle-capi Cloning into '/var/lib/mock/f45-build-44580-815/root/chroot_tmpdir/scmroot/rust-rustc-demangle-capi'... $ git fetch origin 71f8511aced5388c82b2f29c6988f22b6363a63c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rust-rustc-demangle-capi * [new ref] 71f8511aced5388c82b2f29c6988f22b6363a63c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71f8511 Simplify .gitignore