$ git clone -n https://gitee.com/src-opencloudos-rpms/nss_wrapper.git /var/lib/mock/dist-oc8-build-38140-12270/root/chroot_tmpdir/scmroot/nss_wrapper Cloning into '/var/lib/mock/dist-oc8-build-38140-12270/root/chroot_tmpdir/scmroot/nss_wrapper'... $ git reset --hard origin/oc8 HEAD is now at a3d45a6 import nss_wrapper-1.1.13-1.tl3