$ git clone -n https://gitee.com/src-anolis-dde/htmlcxx.git /var/lib/mock/dist-an23-dde-build-339780-69797/root/chroot_tmpdir/scmroot/htmlcxx Cloning into '/var/lib/mock/dist-an23-dde-build-339780-69797/root/chroot_tmpdir/scmroot/htmlcxx'... $ git reset --hard origin/a23 HEAD is now at d33070b pkg init