$ git clone -n https://gitee.com/happy_orange/gtest.git /var/lib/mock/dist-an8-plus-build-137170-50487/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an8-plus-build-137170-50487/root/chroot_tmpdir/scmroot/gtest'... $ git reset --hard origin/a8 HEAD is now at 75cfccb update to 1.12.1