$ git clone -n https://gitee.com/opencloudos-stream/crash.git /var/lib/mock/dist-ocs23-build-120416-8676/root/chroot_tmpdir/scmroot/crash Cloning into '/var/lib/mock/dist-ocs23-build-120416-8676/root/chroot_tmpdir/scmroot/crash'... $ 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 [...] -- [...]'