Last active
February 1, 2022 18:08
-
-
Save jjercx/00fef4c386a39db195f1e955db244607 to your computer and use it in GitHub Desktop.
Git Config
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 = Juan José Ramírez | |
email = [email protected] | |
[alias] | |
c = checkout | |
a = add | |
s = "!f() { git symbolic-ref --short HEAD && git status -s; }; f" | |
lg = log --oneline --decorate --all --graph | |
b = rev-parse --abbrev-ref HEAD | |
cb = checkout -b | |
cm = commit -m | |
ds = diff --staged | |
save = !git add -A && git commit -m 'WIP' | |
wip = stash --include-untracked | |
undo = reset HEAD~1 --mixed | |
f = fetch -p | |
ba = branch -a | |
ppl = shortlog -sn --no-merges | |
[core] | |
editor = code --wait | |
[diff] | |
tool = default-difftool | |
[difftool "default-difftool"] | |
cmd = code --wait --diff $LOCAL $REMOTE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment