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