$ git clone -n https://gitee.com/opencloudos-stream/trader.git /var/lib/mock/dist-oc9-epol-build-84818-57395/root/chroot_tmpdir/scmroot/trader Cloning into '/var/lib/mock/dist-oc9-epol-build-84818-57395/root/chroot_tmpdir/scmroot/trader'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/trader * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 529865c package init