$ git clone -n https://git.cclinux.org/stage/rpms/samba.git /var/lib/mock/dist-circle8-build-110314-66485/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-circle8-build-110314-66485/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 4ae81cc9d6b377511aa87926857d3df24ee25a98:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/samba * [new ref] 4ae81cc9d6b377511aa87926857d3df24ee25a98 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ae81cc import samba-4.18.6-1.el8