$ git clone -n https://gitee.com/src-anolis-os/keybinder3.git /var/lib/mock/dist-an8.7-build-268817-64025/root/chroot_tmpdir/scmroot/keybinder3 Cloning into '/var/lib/mock/dist-an8.7-build-268817-64025/root/chroot_tmpdir/scmroot/keybinder3'... $ git reset --hard origin/a8 HEAD is now at d2fa4e0 spec: update doc sub package and add requires