Skip to content

Instantly share code, notes, and snippets.

@daltondiaz
Last active January 24, 2023 02:01
Show Gist options
  • Save daltondiaz/132aca3bcd3ed400bd976b3f43d5bee4 to your computer and use it in GitHub Desktop.
Save daltondiaz/132aca3bcd3ed400bd976b3f43d5bee4 to your computer and use it in GitHub Desktop.
[push]
followTags = true
[alias]
co = checkout
s = !git status -s
c = !git add --all && git commit -m
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn %C(green)%cr'
p = !git push -u origin
t = !sh -c 'git tag -a $1 -m $1' -
pb = !{VAR=!git rev-parse --abbrev-ref HEAD; !git push --follow-tags origin $VAR}
pu = !git pull
[core]
editor = nvim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment