$ git clone -n https://gitee.com/opencloudos-stream/weston.git /var/lib/mock/dist-oc9-epol-build-66384-16665/root/chroot_tmpdir/scmroot/weston Cloning into '/var/lib/mock/dist-oc9-epol-build-66384-16665/root/chroot_tmpdir/scmroot/weston'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/weston * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 03184e6 !1 Init Merge pull request !1 from chairou/master