$ git clone -n https://gitee.com/src-anolis-os/gtest.git /var/lib/mock/dist-an23.3-build-416622-72865/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an23.3-build-416622-72865/root/chroot_tmpdir/scmroot/gtest'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gtest * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 232449e update to 1.14.0-5