This website requires JavaScript.
Explore
Help
Register
Sign In
greatbody
/
freeCodeCamp
mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
Watch
1
Star
0
Fork
You've already forked freeCodeCamp
0
Code
Issues
Projects
Releases
Wiki
Activity
610c4303c1
freeCodeCamp
/
guide
/
chinese
/
miscellaneous
/
push-a-new-local-branch-to-...
/
index.md
389 B
Raw
Blame
History
title
localeTitle
Push a New Local Branch to a Remote Git Repository and Track it Too
将新的本地分支推送到远程Git存储库并跟踪它
创建一个新分支:
git checkout -b feature_branch_name
编辑,添加和提交您的文件。
将您的分支推送到远程存储库:
git push -u origin feature_branch_name
就这么简单!