$ git clone -n https://gitee.com/tomcruiseqi/gtest.git /var/lib/mock/dist-an23.3-build-461070-73758/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an23.3-build-461070-73758/root/chroot_tmpdir/scmroot/gtest'... $ git fetch origin 2d542512b8c72d45ff758f00360dc520f37ad50b:KOJI_FETCH_HEAD From https://gitee.com/tomcruiseqi/gtest * [new ref] 2d542512b8c72d45ff758f00360dc520f37ad50b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2d54251 Update to 1.15.2