$ git clone -n https://gitee.com/src-opencloudos-rpms/ndctl /var/lib/mock/dist-oc8-build-32157-9675/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-oc8-build-32157-9675/root/chroot_tmpdir/scmroot/ndctl'... $ git reset --hard origin/oc8 HEAD is now at 90c9fa3 import ndctl-71.1-4.tl3