Advertisement
Guest User

Untitled

a guest
May 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $ git checkout master
  2.  
  3. $ git pull origin master && git fetch (gets the latest changes from master branch and update the `.git` branches)
  4.  
  5. $ git checkout <your-working-branch>
  6.  
  7. $ git rebase origin/master (updates your current branch with latest changes from master)
  8. - Make sure fix any conflicts
  9.  
  10. $ git add .
  11.  
  12. $ git rebase --continue
  13.  
  14. $ git push origin <your-working-branch> -f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement