|
|
|
|
|
by joshuahutt
3734 days ago
|
|
$ git checkout master
$ git pull
$ git checkout branch-name
$ git rebase master
If there are merge conflicts, open the affected file(s) and resolve them. Then: $ git add filename.ext
$ git rebase --continue
Finally: $ git push origin branch-name
If you've already pushed the branch, use -f. Make sure to always specify the branch name when using that flag! |
|