Created
July 1, 2022 16:57
-
-
Save maurom/c7b409d1e925ded11e0324f14165b356 to your computer and use it in GitHub Desktop.
My personal ~/.gitconfig file
This file contains 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
[core] | |
autocrlf = input | |
[user] | |
name = Mauro A. Meloni | |
email = [email protected] | |
# the following is only available on git 2.35+ | |
# signingkey = ssh-ed25519 ... | |
[pull] | |
ff = only | |
[alias] | |
ignore = update-index --assume-unchanged -- | |
unignore = update-index --no-assume-unchanged -- | |
ignored = !git ls-files -v | grep "^[[:lower:]]" | |
stashtus = stash list --name-status | |
stashdif = stash show -p | |
# stashdif = stash show | |
cached = diff --cached | |
ready = diff --cached | |
unstage = restore --staged | |
soft-undo = !git show $1 | git apply -R | |
co = checkout | |
sw = switch | |
[commit] | |
# gpgsign = true | |
[gpg] | |
# the following is only available on git 2.35+ | |
# format = ssh | |
[merge] | |
conflictstyle = diff3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment