$ git clone -n https://gitee.com/src-opencloudos-rpms/WALinuxAgent /var/lib/mock/dist-oc8-build-30389-8998/root/chroot_tmpdir/scmroot/WALinuxAgent Cloning into '/var/lib/mock/dist-oc8-build-30389-8998/root/chroot_tmpdir/scmroot/WALinuxAgent'... $ git reset --hard origin/oc8 HEAD is now at d1c2f29 import WALinuxAgent-2.7.0.6-6.tl3