$ git clone -n https://gitee.com/src-anolis-os/setroubleshoot-plugins.git /var/lib/mock/dist-an23-build-249575-63341/root/chroot_tmpdir/scmroot/setroubleshoot-plugins Cloning into '/var/lib/mock/dist-an23-build-249575-63341/root/chroot_tmpdir/scmroot/setroubleshoot-plugins'... $ git reset --hard origin/a23 HEAD is now at 92a6d6f init from upstream