$ git clone -n https://git.cclinux.org/stage/rpms/nmstate.git /var/lib/mock/dist-circle8-build-113027-72346/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-circle8-build-113027-72346/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin a1ee316237e1a95943249ce48391b31150941e5a:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/nmstate * [new ref] a1ee316237e1a95943249ce48391b31150941e5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a1ee316 import nmstate-1.4.5-2.el8