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