- On "master" branch, do "git checkout -b new-branch"
- Do some code changes on that branch, then "git add name-of-file-extension" "git commit -m "your message here"" "git push"
- I then move back to "master" or main/initial branch, "git checkout master"
- merge my new branch, "git merge new-branch"
- Then push/upload changes made in the branch, "git push"
Friday, September 25, 2015
GIT How to create a branch and apply changes to server? (for beginners / noobs)
How to create a branch and apply changes to master:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment