Last active
November 14, 2018 10:46
-
-
Save guelau/355f12183fffc75c3400 to your computer and use it in GitHub Desktop.
This file contains 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
[user] | |
name = Laurent Guédon | |
email = [email protected] | |
[alias] | |
amend = commit --amend | |
st = status | |
df = diff | |
co = checkout | |
ci = commit | |
br = branch | |
who = shortlog -sne | |
# condensed history | |
oneline = log --pretty=oneline --abbrev-commit --graph --decorate | |
changes = diff --name-status | |
# all change since the last pull | |
lc = !git oneline ORIG_HEAD.. --stat --no-merges | |
# edit all modified files with vim | |
edit = !vim `git diff --name-only` | |
# cancel the last commit and keep all modifications | |
undo = git reset --soft HEAD^ | |
[core] | |
editor = vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment