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