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