$ git clone -n https://src.fedoraproject.org/rpms/sssd.git /var/lib/mock/f41-build-814585-148979/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/f41-build-814585-148979/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin 64947abce3a00e9e6713b129e2b20ce8c504b9fa:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/sssd * [new ref] 64947abce3a00e9e6713b129e2b20ce8c504b9fa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 64947ab sssd-2.10.0~beta2-1: rebase to latest upstream version