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