$ git clone -n https://gitee.com/src-opencloudos-rpms/nmstate.git /var/lib/mock/dist-oc8-build-74482-50560/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-oc8-build-74482-50560/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin bef73375c4a8a67d2f1f8c6a054f7ea4eb2926c5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nmstate * [new ref] bef73375c4a8a67d2f1f8c6a054f7ea4eb2926c5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bef7337 import nmstate-1.4.5-2.tl3