You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,6 +154,7 @@ Here are some helpful aliases for your `~/.gitconfig`
154
154
| alias | Description |
155
155
| ----- | ----------- |
156
156
|`ahead-of-master = log --oneline origin/master..HEAD`| Show commits that haven't made it to master yet |
157
+
|`roots = log --all --oneline --decorate --max-parents=0`| Show the roots |
157
158
|`wip = rebase -i @{u}`| Starts an interactive rebase of all the commits you haven't pushed yet. Handy for collapsing a bunch of WIP snapshots into logical commits before pushing, without having to worry about accidentally squashing a commit someone else has already referred to |
0 commit comments