$ git clone -n https://gitee.com/src-opencloudos-rpms/protobuf.git /var/lib/mock/dist-oc8-build-215177-80830/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-oc8-build-215177-80830/root/chroot_tmpdir/scmroot/protobuf'... $ git fetch origin 2dcb326759f5c247cf6b9a6d1f4d82fb15f59d1e:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/protobuf * [new ref] 2dcb326759f5c247cf6b9a6d1f4d82fb15f59d1e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2dcb326 import protobuf-3.5.0-17.tl3