Created
April 18, 2023 07:05
-
-
Save LuisPalacios/0ee871ee236485d4a064179b16ada400 to your computer and use it in GitHub Desktop.
Ejemplo de fichero de configuración de GIT para mi MAC de desarrollo
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 = Mi Nombre | |
email = mi.correo@dominio.com | |
signingKey = "" | |
[core] | |
excludesfile = /Users/luis/.gitignore_global | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[color] | |
ui = true | |
[alias] | |
lol = !git --no-pager log --graph --decorate --pretty=oneline --abbrev-commit | |
index = ls-files --stage | |
lg = !"git lg1" | |
lg1 = !"git lg1-specific --all" | |
lg2 = !"git lg2-specific --all" | |
lg3 = !"git lg3-specific --all" | |
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' | |
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' | |
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)' | |
cat = !git --no-pager cat-file -p | |
s = !git --no-pager show | |
[push] | |
default = simple | |
[gpg] | |
program = gpg | |
[commit] | |
gpgSign = false | |
[tag] | |
forceSignAnnotated = false | |
[init] | |
defaultBranch = master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment