Skip to content

Instantly share code, notes, and snippets.

@ben-hampson
Last active February 27, 2023 12:18
Show Gist options
  • Save ben-hampson/16cb576242ed66ad076497ddc411fa8c to your computer and use it in GitHub Desktop.
Save ben-hampson/16cb576242ed66ad076497ddc411fa8c to your computer and use it in GitHub Desktop.
Git Aliases
# https://github.com/GitAlias/gitalias
[alias]
a = add
au = !git add --update && git status -s
aa = !git add --all && git status -s
b = branch
ca = commit --amend
cm = commit --message
co = checkout
d = diff
f = fetch
m = merge
l = log --oneline --graph
p = pull
s = status -s
st = stash
sw = switch
[user]
name = Ben Hampson
email = [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment