$ git clone -n https://gitee.com/src-anolis-os/enchant2.git /var/lib/mock/dist-an23-build-213773-61960/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an23-build-213773-61960/root/chroot_tmpdir/scmroot/enchant2'... $ git reset --hard origin/a23 HEAD is now at 70b017d optimize spec and add bugfix