$ git clone -n https://gitee.com/src-anolis-os/libdc1394.git /var/lib/mock/dist-an8.6-build-102297-45598/root/chroot_tmpdir/scmroot/libdc1394 Cloning into '/var/lib/mock/dist-an8.6-build-102297-45598/root/chroot_tmpdir/scmroot/libdc1394'... $ git reset --hard origin/a8-dev HEAD is now at 99b8c6f spec: edit doc sub package