$ git clone -n https://src.fedoraproject.org/rpms/sssd.git /var/lib/mock/f40-build-779821-130506/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/f40-build-779821-130506/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin 8222ea8b56b430a62199ca77ff2a4036040bc046:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/sssd * [new ref] 8222ea8b56b430a62199ca77ff2a4036040bc046 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8222ea8 Fix the build with Samba 4.20