$ git clone -n https://gitee.com/opencloudos-stream/xmppc.git /var/lib/mock/dist-oc9-epol-build-107097-66973/root/chroot_tmpdir/scmroot/xmppc Cloning into '/var/lib/mock/dist-oc9-epol-build-107097-66973/root/chroot_tmpdir/scmroot/xmppc'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/xmppc * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f93704 update