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