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