$ git clone -n https://gitee.com/src-opencloudos-rpms/libnl3 /var/lib/mock/dist-oc8-build-31668-9241/root/chroot_tmpdir/scmroot/libnl3 Cloning into '/var/lib/mock/dist-oc8-build-31668-9241/root/chroot_tmpdir/scmroot/libnl3'... $ git reset --hard origin/oc8 HEAD is now at 5be99c7 import libnl3-3.7.0-1.oc8