$ git clone -n https://gitee.com/mgb01105731/rust2rpm.git /var/lib/mock/dist-an23-build-python3.11-401293-72375/root/chroot_tmpdir/scmroot/rust2rpm Cloning into '/var/lib/mock/dist-an23-build-python3.11-401293-72375/root/chroot_tmpdir/scmroot/rust2rpm'... $ git reset --hard origin/a23.1 fatal: ambiguous argument 'origin/a23.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'