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