$ git clone -n https://gitee.com/opencloudos-stream/bash.git /var/lib/mock/dist-ocs23-build-120405-8676/root/chroot_tmpdir/scmroot/bash Cloning into '/var/lib/mock/dist-ocs23-build-120405-8676/root/chroot_tmpdir/scmroot/bash'... $ git fetch origin dist-ocs23:KOJI_FETCH_HEAD fatal: couldn't find remote ref dist-ocs23 $ git reset --hard dist-ocs23 fatal: ambiguous argument 'dist-ocs23': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'