$ git clone -n https://gitee.com/src-anolis-os/perl-constant /var/lib/mock/dist-an23-build-77324-40461/root/chroot_tmpdir/scmroot/perl-constant Cloning into '/var/lib/mock/dist-an23-build-77324-40461/root/chroot_tmpdir/scmroot/perl-constant'... $ git reset --hard origin/a23-dev HEAD is now at 2d5e4ee readme: add desc for branch