[英]git push local branch to server
I have a cloned repository to my local folder (made changes in localhost and etc).我有一个克隆的存储库到我的本地文件夹(在 localhost 等中进行了更改)。 How do I push the changes to the server?
如何将更改推送到服务器? I was using GitShell commands on my branch, with a git add, commit, and push.
我在我的分支上使用 GitShell 命令,包括 git add、commit 和 push。
You push local changes to a remote repo with the push
command:使用
push
命令将本地更改推送到远程存储库:
git push origin <branch>
You can read more about how to push
, along with other Git tools and workflows, from the FREE online Pro Git book .您可以从免费的在线 Pro Git 书籍 中阅读有关如何
push
以及其他 Git 工具和工作流的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.