$ git clone -n https://gitee.com/mgb01105731/grpc.git /var/lib/mock/dist-an23-build-python3.11-395344-72138/root/chroot_tmpdir/scmroot/grpc Cloning into '/var/lib/mock/dist-an23-build-python3.11-395344-72138/root/chroot_tmpdir/scmroot/grpc'... $ git fetch origin a23.1:KOJI_FETCH_HEAD fatal: couldn't find remote ref a23.1 $ 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 [...] -- [...]'