$ git clone -n https://gitee.com/src-anolis-os/libproxy.git /var/lib/mock/dist-an7_9-updates-build-189562-60696/root/chroot_tmpdir/scmroot/libproxy Cloning into '/var/lib/mock/dist-an7_9-updates-build-189562-60696/root/chroot_tmpdir/scmroot/libproxy'... $ git fetch origin cbb3d3ac2271c4cb579c6c760df6b325c87efe6d:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libproxy * [new ref] cbb3d3ac2271c4cb579c6c760df6b325c87efe6d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cbb3d3a spec: add doc sub package