Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
什么是更新 GitHub 存储库的正确终端命令,该存储库的文件本地存储在我的 Mac 机器上?
git push <remote> <branch>. 例如:
git push <remote> <branch>
git push -u origin master
如果您尚未设置遥控器,请使用git remote add <name> <uri>. 例如:
git remote add <name> <uri>
git remote add origin https://github.com/username/example.git