Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Git notes
  2.  
  3. git checkout -b feature/my-new-feature
  4. (use hotfix for salt)
  5.  
  6. git commit -a -m "updated widget as per JIRA-12345"
  7.  
  8.  
  9.  
  10. If we need to merge last 3 commits
  11.  
  12. git rebase -i HEAD~3
  13.  
  14. (squash later commits to newer ones. Fixup also works, and dumps the commit messages)
  15.  
  16. If I get it wrong, it dumps me back to branchlessness, so I need to git checkout the branch againgit
  17.  
  18. git push --force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement