$ git clone -n https://gitee.com/zhoujiajia111/protobuf_1.git /var/lib/mock/dist-an23.2-build-445645-73284/root/chroot_tmpdir/scmroot/protobuf_1 Cloning into '/var/lib/mock/dist-an23.2-build-445645-73284/root/chroot_tmpdir/scmroot/protobuf_1'... $ git fetch origin 2f4cdc23978099875ac89b9b4389b8dd012a58c4:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/protobuf_1 * [new ref] 2f4cdc23978099875ac89b9b4389b8dd012a58c4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f4cdc2 update to 25.1