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