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
f81710864b
freeCodeCamp
/
guide
/
english
/
miscellaneous
/
push-a-new-local-branch-to-...
/
index.md
309 B
Raw
Blame
History
title
Push a New Local Branch to a Remote Git Repository and Track it Too
Create a new branch:
git checkout -b feature_branch_name
Edit, add and commit your files.
Push your branch to the remote repository:
git push -u origin feature_branch_name
It's as simple as that!