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