$ git clone -n https://src.fedoraproject.org/rpms/autofs.git /var/lib/mock/f40-build-2197382-51636/root/chroot_tmpdir/scmroot/autofs Cloning into '/var/lib/mock/f40-build-2197382-51636/root/chroot_tmpdir/scmroot/autofs'... $ git fetch origin 787a553722ec9aecf0c5108065bef9ef110d7639:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/autofs * [new ref] 787a553722ec9aecf0c5108065bef9ef110d7639 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 787a553 Further C compatibility fixes, run autoconf