Guest User

Untitled

a guest
Jan 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Get a clean branch
  2. git checkout -b new-addon-branch
  3. git reset <root commit sha> --hard
  4.  
  5. # Apply the patch on the branch
  6. git apply <patch>
  7.  
  8. # Check the diff
  9. git diff master..new-addon-branch
  10.  
  11. # And may try to rebase (will work good if your code isn't too bloated with other addon)
  12. git rebase master
  13.  
  14. # Then, you merge
  15. git checkout master
  16. git merge new-addon-branch
Add Comment
Please, Sign In to add comment