$ git clone -n https://gitee.com/src-anolis-os/gegl.git /var/lib/mock/dist-an8.7-build-154740-58315/root/chroot_tmpdir/scmroot/gegl Cloning into '/var/lib/mock/dist-an8.7-build-154740-58315/root/chroot_tmpdir/scmroot/gegl'... $ git reset --hard origin/a8 HEAD is now at 5f86306 spec: add doc sub package