admin管理员组

文章数量:1635682

错误提示:

fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using

    git remote add <name> <url>

and then push using the remote name

    git push <name>

1. 需要在 git push 之前需要输入 git remote add origin “远程仓库地址”
git remote add origin https://gitee.com/liujianzhuang/js-basics.git
2. git push -u origin 对应远程分支名
git push -u origin master
3. 接下来就可以直接一套操作了
git add .
git commit -m "信息"
git push

本文标签: configuredpushgiteeFATALcommand