git: firmar con GPG, rama master por defecto y ajustes habituales
- Commits y tags firmados con la clave 1CFF10953BEE333C. - init.defaultBranch = master. - pull con rebase (y autoStash), push que crea la rama remota, fetch que limpia ramas borradas, diffs con histogram y colorMoved, conflictos en zdiff3, rerere, ramas ordenadas por fecha y alias lg y st. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016UdJsHrbkmzhoCb6TthP2m
This commit is contained in:
parent
0d928f6dc5
commit
94992e4b45
1 changed files with 32 additions and 0 deletions
|
|
@ -1,3 +1,35 @@
|
||||||
[user]
|
[user]
|
||||||
name = alejandrogs73
|
name = alejandrogs73
|
||||||
email = mail@alejandrogs.es
|
email = mail@alejandrogs.es
|
||||||
|
# Huella de la clave GPG (es pública). Caduca el 2027-12-12.
|
||||||
|
signingkey = 3C25DE5B275CA525960E7DFD1CFF10953BEE333C
|
||||||
|
[init]
|
||||||
|
defaultBranch = master
|
||||||
|
[commit]
|
||||||
|
gpgSign = true
|
||||||
|
[tag]
|
||||||
|
gpgSign = true
|
||||||
|
[pull]
|
||||||
|
# Sin commits de merge al hacer pull: los cambios locales van encima
|
||||||
|
rebase = true
|
||||||
|
[rebase]
|
||||||
|
autoStash = true
|
||||||
|
[push]
|
||||||
|
# El primer push de una rama nueva crea la rama remota
|
||||||
|
autoSetupRemote = true
|
||||||
|
[fetch]
|
||||||
|
prune = true
|
||||||
|
[diff]
|
||||||
|
algorithm = histogram
|
||||||
|
colorMoved = default
|
||||||
|
[merge]
|
||||||
|
# Los conflictos muestran también cómo era el original
|
||||||
|
conflictStyle = zdiff3
|
||||||
|
[rerere]
|
||||||
|
# Recordar cómo se resolvió un conflicto y repetirlo
|
||||||
|
enabled = true
|
||||||
|
[branch]
|
||||||
|
sort = -committerdate
|
||||||
|
[alias]
|
||||||
|
lg = log --graph --oneline --decorate --all
|
||||||
|
st = status -sb
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue