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