$ git clone -n https://src.fedoraproject.org/rpms/samba.git /var/lib/mock/f41-build-853930-166804/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/f41-build-853930-166804/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 6d97717f53c1a234486a4258451cb3d05eac1bb0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/samba * [new ref] 6d97717f53c1a234486a4258451cb3d05eac1bb0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d97717 Always include libsamba-policy and libsamba-net-private-samba