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