Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. [alias]
  2. # View commits in local branch vs. master
  3. current = !"git log $(git rev-parse --abbrev-ref HEAD) ^master --no-merges"
  4. # View unpushed commits
  5. unpushed = !git log @{u}..HEAD
  6. # View all unpushed commits on all branches
  7. all-unpushed = !git log --branches --not --remotes --oneline
  8. # View latest unpushed commits on all branches
  9. unpushed-branches = !git log --branches --not --remotes --oneline --decorate --simplify-by-decoration
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement