$ git clone -n https://gitee.com/lxpzero/gtest.git /var/lib/mock/dist-an23.3-build-414548-72844/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/dist-an23.3-build-414548-72844/root/chroot_tmpdir/scmroot/gtest'... $ git fetch origin 96cad6be509dadc4d73c844fe266710db70f23d8:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/gtest * [new ref] 96cad6be509dadc4d73c844fe266710db70f23d8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 96cad6b update to 1.14.0-5