【问题标题】:git remote and origin <url> not working. error raised as unknown subcommandgit remote 和 origin <url> 不起作用。作为未知子命令引发的错误
【发布时间】:2022-10-19 21:30:58
【问题描述】:

注意:url中没有错误

git 远程和起源https://github.com/Goutham10/MatchGame.git

错误:未知子命令:和

用法:git remote [-v | --详细] 或:git remote add [-t] [-m] [-f] [--tags | --no-tags] [--mirror=<fetch|push>]

或: git 远程重命名

或: git 远程删除

或: git remote set-head (-a | --auto | -d | --delete | )

或: git 远程 [-v | --verbose] 显示 [-n]

或: git remote prune [-n | --空运行]

或: git 远程 [-v | --verbose] 更新 [-p | --prune] [( | )...]

或: git remote set-branches [--add] ...

或: git remote get-url [--push] [--all]

或: git remote set-url [--push] []

或: git remote set-url --add

或: git remote set-url --delete

-v, --verbose         be verbose; must be placed before a subcommand

【问题讨论】:

    标签: git github


    【解决方案1】:

    您的子命令中有错字

    git remote add origin &lt;url&gt;

    【讨论】:

      猜你喜欢
      • 2019-06-23
      • 1970-01-01
      • 2017-09-12
      • 2019-07-05
      • 2023-02-21
      • 2012-04-21
      • 2023-02-23
      • 2011-04-14
      相关资源
      最近更新 更多