$ git clone -n https://src.fedoraproject.org/rpms/nftables.git /var/lib/mock/f41-build-813977-148824/root/chroot_tmpdir/scmroot/nftables Cloning into '/var/lib/mock/f41-build-813977-148824/root/chroot_tmpdir/scmroot/nftables'... $ git fetch origin 8662a1e2c92706d37221a25b10bbcfd15ac9fd0a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nftables * [new ref] 8662a1e2c92706d37221a25b10bbcfd15ac9fd0a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8662a1e gitignore temporary files