Created
November 27, 2023 13:55
-
-
Save andmax/73b0754903fa76f9cc91f0a9f0f0daff to your computer and use it in GitHub Desktop.
Good ~/.gitconfig with helpful aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Andre Maximo | |
email = [email protected] | |
[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