Created
September 30, 2019 09:21
-
-
Save brookback/dd2da5e0fbacf853301f03f6270cbd19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
# View commits in local branch vs. master | |
current = !"git log $(git rev-parse --abbrev-ref HEAD) ^master --no-merges" | |
# View unpushed commits | |
unpushed = !git log @{u}..HEAD | |
# View all unpushed commits on all branches | |
all-unpushed = !git log --branches --not --remotes --oneline | |
# View latest unpushed commits on all branches | |
unpushed-branches = !git log --branches --not --remotes --oneline --decorate --simplify-by-decoration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment