/ Published in: Bash
A simple Git work-flow in which we keep master free of conflicts & rebase changes in a feature branch (to be merged).
Expand |
Embed | Plain Text
$ git co master $ git pull $ git co -b feature_branch $ git commit --amend # work work work ... $ git co master $ git pull # pulling others work $ git co feature_branch $ git rebase master # merge conflicts, it better if they happen here $ git co master $ git merge feature_branch # this should go clean $ git push
You need to login to post a comment.
