$ git clone -n https://gitee.com/mgb01105731/protobuf.git /var/lib/mock/dist-an23-epao-build-299669-65900/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-an23-epao-build-299669-65900/root/chroot_tmpdir/scmroot/protobuf'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/protobuf * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce63501 Del Specific Fields