$ git clone -n https://gitee.com/opencloudos-stream/jabberd.git /var/lib/mock/dist-ocs23-build-280240-26726/root/chroot_tmpdir/scmroot/jabberd Cloning into '/var/lib/mock/dist-ocs23-build-280240-26726/root/chroot_tmpdir/scmroot/jabberd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/jabberd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 61802d2 update