Añadir ejemplo de gitconfig
This commit is contained in:
parent
8b0cad7146
commit
9536b38496
34
.gitconfig
Normal file
34
.gitconfig
Normal file
@ -0,0 +1,34 @@
|
||||
[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
|
Loading…
Reference in New Issue
Block a user