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