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