Skip to content

Instantly share code, notes, and snippets.

@samuellevy
Last active November 19, 2025 18:16
Show Gist options
  • Select an option

  • Save samuellevy/908c14f840eb3fdb2f39ede09571cbcc to your computer and use it in GitHub Desktop.

Select an option

Save samuellevy/908c14f840eb3fdb2f39ede09571cbcc to your computer and use it in GitHub Desktop.
[alias]
ck = checkout
c = !git commit -m
ca = !git add --all && git commit -m
s = !git status -s
l = !git --no-pager log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr'
amend = !git add --all && git commit --amend --no-edit
count = !git --no-pager shortlog -s --grep
pushu = !git push -u origin $(git symbolic-ref --short HEAD)
b = !git checkout -b
@samuellevy
Copy link
Author

amend = !git add --all && git commit --amend --no-edit
count = !git --no-pager shortlog -s --grep
pushu = !git push -u origin $(git symbolic-ref --short HEAD)
b = !git checkout -b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment