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