$ git clone -n https://src.fedoraproject.org/rpms/samba.git /var/lib/mock/f41-build-859826-168708/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/f41-build-859826-168708/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 302f30bcdef96e2dc91b8738556c22f5dede1cf2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/samba * [new ref] 302f30bcdef96e2dc91b8738556c22f5dede1cf2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 302f30b Fix samba 4.20 -> 4.21 upgrade for the removed python3-samba-devel