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