$ git clone -n https://gitee.com/src-anolis-os/foomatic.git /var/lib/mock/dist-an8.7-build-269764-64112/root/chroot_tmpdir/scmroot/foomatic Cloning into '/var/lib/mock/dist-an8.7-build-269764-64112/root/chroot_tmpdir/scmroot/foomatic'... $ git reset --hard origin/a8 HEAD is now at 356a28a spec: edit doc sub package