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