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