$ git clone -n https://gitee.com/src-opencloudos-rpms/nmstate.git /var/lib/mock/dist-oc9-build-81905-56617/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-oc9-build-81905-56617/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin d04c7f7a87d361aacba632b764388af7482c528d:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nmstate * [new ref] d04c7f7a87d361aacba632b764388af7482c528d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d04c7f7 import nmstate-2.2.0-6.tl4