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