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