$ git clone -n https://gitee.com/src-anolis-os/pstoedit.git /var/lib/mock/dist-an23-build-239580-62930/root/chroot_tmpdir/scmroot/pstoedit Cloning into '/var/lib/mock/dist-an23-build-239580-62930/root/chroot_tmpdir/scmroot/pstoedit'... $ git reset --hard origin/a23 HEAD is now at fd6d2ff Init package from upstream