Last active
November 29, 2023 15:40
-
-
Save nramirez/83c6671f279ca92630d3a694d2503c6a to your computer and use it in GitHub Desktop.
.gitconfig
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
[user] | |
name = Tu Nombre | |
email = Tu Correo | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
ui = true | |
interactive = auto | |
[help] | |
autocorrect = 1 | |
[core] | |
editor = "code --wait" | |
[alias] | |
st = "status -sb" | |
ci = commit | |
co = checkout | |
pl = "pull --rebase" # proper way to pull stuff without useless merge commits | |
br = branch | |
# different log output | |
lg = "log --graph --pretty=format:'%C(green)%h [%an]%Creset -%C(cyan)%d%Creset %s %C(green)(%cr)%Creset' --abbrev-commit --date=relative" | |
hist = "log --pretty=format:'%h %ad | %s%d [%an]' --date=short --max-count=7" | |
my = "log --pretty=format:'%h %ad | %s%d' --date=short --author='Nazaret Ramirez'" | |
lg1 = "git log --oneline --decorate" | |
patch = "apply --ignore-space-change --ignore-whitespace" | |
forget = "revert --no-commit" | |
[branch] | |
autosetuprebase = always | |
[push] | |
default = simple | |
[filter "media"] | |
required = true | |
clean = git media clean %f | |
smudge = git media smudge %f | |
[rebase] | |
autostash = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment