$ git clone -n https://gitee.com/gcdota930915/gnutls.git /var/lib/mock/dist-an23-build-python3.11-375404-71699/root/chroot_tmpdir/scmroot/gnutls Cloning into '/var/lib/mock/dist-an23-build-python3.11-375404-71699/root/chroot_tmpdir/scmroot/gnutls'... $ git fetch origin a23.0:KOJI_FETCH_HEAD fatal: couldn't find remote ref a23.0 $ git reset --hard origin/a23.0 fatal: ambiguous argument 'origin/a23.0': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'