$ git clone -n https://gitee.com/src-opencloudos-rpms/NetworkManager /var/lib/mock/dist-oc8-build-30925-9214/root/chroot_tmpdir/scmroot/NetworkManager Cloning into '/var/lib/mock/dist-oc8-build-30925-9214/root/chroot_tmpdir/scmroot/NetworkManager'... $ git reset --hard origin/oc8 HEAD is now at 2b04e8a import NetworkManager-1.40.0-2.oc8