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