$ git clone -n https://gitee.com/src-anolis-os/enchant2.git /var/lib/mock/dist-an23-build-82097-41340/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an23-build-82097-41340/root/chroot_tmpdir/scmroot/enchant2'... $ git reset --hard origin/a23 HEAD is now at b0b34ff readme: add desc for branch