Skip to content

Instantly share code, notes, and snippets.

@andmax
Created November 27, 2023 13:55
Show Gist options
  • Save andmax/73b0754903fa76f9cc91f0a9f0f0daff to your computer and use it in GitHub Desktop.
Save andmax/73b0754903fa76f9cc91f0a9f0f0daff to your computer and use it in GitHub Desktop.
Good ~/.gitconfig with helpful aliases
[user]
name = Andre Maximo
email = andmax@gmail.com
[credential]
helper = cache --timeout=3600
[core]
editor = emacs -nw
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[alias]
r = rebase
c = checkout
p = push
s = status
b = branch
l = log
ll = log --raw
le = log --pretty=e
pF = push --force
fA = fetch --all
rS = rebase --skip
rC = rebase --continue
can = commit -a --amend --no-edit
sui = submodule update --init
[advice]
skippedCherryPicks = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment