$ git clone -n https://src.fedoraproject.org/rpms/xfig.git /var/lib/mock/f40-build-797289-141193/root/chroot_tmpdir/scmroot/xfig Cloning into '/var/lib/mock/f40-build-797289-141193/root/chroot_tmpdir/scmroot/xfig'... $ git fetch origin a6b2ba00ebe180bfdfad2add5abfe22699931f9b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xfig * [new ref] a6b2ba00ebe180bfdfad2add5abfe22699931f9b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a6b2ba0 Fix compile error with f40+ gcc