$ git clone -n https://gitee.com/src-opencloudos-rpms/libnma /var/lib/mock/dist-oc8-build-31956-9284/root/chroot_tmpdir/scmroot/libnma Cloning into '/var/lib/mock/dist-oc8-build-31956-9284/root/chroot_tmpdir/scmroot/libnma'... $ git reset --hard origin/oc8 HEAD is now at 3462af7 import libnma-1.8.38-1.oc8