$ git clone -n https://gitee.com/happy_orange/gtest.git /var/lib/mock/dist-an8.6-build-137265-50482/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an8.6-build-137265-50482/root/chroot_tmpdir/scmroot/gtest'... $ git reset --hard 29f81b06fc5bf4b5ce3a1b451ebb0a4fe3314ff0 HEAD is now at 29f81b0 update to 1.12.1