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