簡體   English   中英

無法在 git 添加遠程

[英]Cannot add remote in git

請幫我。 我無法在我的 git 存儲庫中添加遠程。 我的問題在哪里?

git remote add https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-Nmakhdum.git

usage: git remote add [<options>] <name> <url>
                          or do not fetch any tag at all (--no-tags)
    -t, --track <branch>  branch(es) to track
    -m, --master <branch>
                          master branch
    --mirror[=(push|fetch)]
                          set up remote as a mirror to push to or fetch from
git remote add [<options>] <name> <url>

您需要兩個參數:名稱和 url。

git remote add originNew https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-Nmakhdum.git

您沒有添加所有必需的參數,git 向您顯示該命令的幫助詳細信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM