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