comandos-git/.gitconfig

35 lines
870 B
INI

[user]
email = noreply@vergaracarmona.es
name = manuel vergara
[github]
user = manudocker
[core]
editor = nano
[pull]
rebase = false
[init]
defaultBranch = main
[alias]
cg = config --global
cl = config --list
all = add .
st = status
unstage = reset HEAD --
ci = commit -m
cia = commit -am
amend = commit --amend
ps = push
psu = ps --set-upstream origin
pl = pull
pf = ! git pull && git fetch
lg = log --graph --pretty=format:"%C(yellow)%h%Cred%d%Creset - %C(cyan)%an%Creset: '%s' %Cgreen(%cr)%Creset" --abbrev-commit
nm = lg --no-merges
df = lg -p
co = checkout
br = branch
main = branch -M main
back = co -- .
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential