$ git clone -n https://gitee.com/gcdota930915/gnome-boxes.git /var/lib/mock/dist-an8_8-el9-build-169540-58883/root/chroot_tmpdir/scmroot/gnome-boxes Cloning into '/var/lib/mock/dist-an8_8-el9-build-169540-58883/root/chroot_tmpdir/scmroot/gnome-boxes'... $ git reset --hard origin/a8-autopr fatal: ambiguous argument 'origin/a8-autopr': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'