diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..5ba3cbd --- /dev/null +++ b/.gitconfig @@ -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