$ git clone -n https://gitee.com/src-opencloudos-rpms/nmstate.git /var/lib/mock/dist-oc8-build-38773-12693/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-oc8-build-38773-12693/root/chroot_tmpdir/scmroot/nmstate'... $ git reset --hard origin/oc8 HEAD is now at 7129410 import nmstate-1.4.4-1.tl3