$ git clone -n https://gitee.com/src-anolis-os/gtest.git /var/lib/mock/dist-an23.3-build-461341-73766/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an23.3-build-461341-73766/root/chroot_tmpdir/scmroot/gtest'... $ git fetch origin a23.3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gtest * [new branch] a23.3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2d54251 Update to 1.15.2