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