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