$ git clone -n https://src.fedoraproject.org/rpms/tuxguitar.git /var/lib/mock/f38-build-709889-93023/root/chroot_tmpdir/scmroot/tuxguitar Cloning into '/var/lib/mock/f38-build-709889-93023/root/chroot_tmpdir/scmroot/tuxguitar'... $ git fetch origin a7dee51a90452b43e731502ed306336e3a594cc5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/tuxguitar * [new ref] a7dee51a90452b43e731502ed306336e3a594cc5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a7dee51 Fix C99 compatibility issue