$ git clone -n https://gitee.com/src-anolis-os/perl-Test-SubCalls.git /var/lib/mock/dist-an23-build-208739-61843/root/chroot_tmpdir/scmroot/perl-Test-SubCalls Cloning into '/var/lib/mock/dist-an23-build-208739-61843/root/chroot_tmpdir/scmroot/perl-Test-SubCalls'... $ git reset --hard origin/a23 HEAD is now at f9cfe0f init from upstream