$ git clone -n https://gitee.com/src-opencloudos-rpms/nmstate.git /var/lib/mock/dist-oc8-build-100178-63387/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-oc8-build-100178-63387/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin eece216c5a5884af6a43ed953f93734fb171bb4a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nmstate * [new ref] eece216c5a5884af6a43ed953f93734fb171bb4a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eece216 import nmstate-1.4.6-4.tl3