$ git clone -n https://gitee.com/tomcruiseqi/protobuf.git /var/lib/mock/dist-an23-build-461974-73793/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-an23-build-461974-73793/root/chroot_tmpdir/scmroot/protobuf'... $ git fetch origin 3f0f035534f8af1a85f5469284bac94a9ad286a7:KOJI_FETCH_HEAD From https://gitee.com/tomcruiseqi/protobuf * [new ref] 3f0f035534f8af1a85f5469284bac94a9ad286a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3f0f035 Update to 31.1