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