$ git clone -n https://gitee.com/fundawang/xcb-proto_1.git /var/lib/mock/dist-an23-build-296741-65797/root/chroot_tmpdir/scmroot/xcb-proto_1 Cloning into '/var/lib/mock/dist-an23-build-296741-65797/root/chroot_tmpdir/scmroot/xcb-proto_1'... $ git fetch origin 4873ac88cb5fd8052aa64a4198442fc4ff4ec7dd:KOJI_FETCH_HEAD From https://gitee.com/fundawang/xcb-proto_1 * [new ref] 4873ac88cb5fd8052aa64a4198442fc4ff4ec7dd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4873ac8 1.16.0