Skip to content

Instantly share code, notes, and snippets.

@jjercx
Last active March 2, 2021 15:34
Show Gist options
  • Save jjercx/d1f6395814bbb9b418aff80a57647fd3 to your computer and use it in GitHub Desktop.
Save jjercx/d1f6395814bbb9b418aff80a57647fd3 to your computer and use it in GitHub Desktop.
Git config 2020-08
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment