现象:
cuiwe@cuiwenqi MINGW64 /e/lattice_prj/lattice_sim (master)
$ git remote add origin git@gitee.com:cuiwenqicn/lattice_mipi_csi_sim_demo.git
usage: git remote add []
-f, --[no-]fetch fetch the remote branches
--[no-]tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --[no-]track <branch>
branch(es) to track
-m, --[no-]master <branch>
master branch
--[no-]mirror[=(push|fetch)]
set up remote as a mirror to push to or fetch from
原因 : origin后面的空格有问题,发生错误是因为在命令的origin后面有一个不可见的(或容易错过的)非中断空格(U+00A0)或其他一些空白字符。