Skip to main content

Config do git | Git

  • Config do git | Git

Comando para alterar o arquivo de configuração do git

git config --edit --global

[user]
name = Adolfo
email = adolfododo@hotmail.com
[alias]
s = !git status -s
c = !git add . && git commit -m
amend = !git add . && git commit --amend --no-edit
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s %C(cyan)[%cn] %C(green)%cr'

Logar pelo terminal

gh auth login
gh auth logout