How to merge changes from one branch to another locally?
# git branch
master
# git chekcout -b new_feature
*new_feature
master
# // add changes in new_feature and get its committed.
Now,
# git checkout master
// This will pull changes FROM new_feature branch TO master branch
# git merge new_feature
No comments:
Post a Comment