$ git clone -n https://gitee.com/src-opencloudos-rpms/NetworkManager.git /var/lib/mock/dist-oc8-build-38729-12651/root/chroot_tmpdir/scmroot/NetworkManager Cloning into '/var/lib/mock/dist-oc8-build-38729-12651/root/chroot_tmpdir/scmroot/NetworkManager'... $ git reset --hard origin/oc8 HEAD is now at 32b971c import NetworkManager-1.40.16-1.tl3