Skip to content

Instantly share code, notes, and snippets.

@Dirack
Last active July 4, 2019 00:37
Show Gist options
  • Select an option

  • Save Dirack/11008ded90fd5a4d8aa06e6bad90d48d to your computer and use it in GitHub Desktop.

Select an option

Save Dirack/11008ded90fd5a4d8aa06e6bad90d48d to your computer and use it in GitHub Desktop.
Lembrete dos comandos do git que estou estudando
  • Exibir a árvore de branchs junto com o log
git log --graph
  • Exibir o log filtrado por autor
git log --author=<nome>
  • Exibir a lista de variáveis de sistema do git, use --local para mostrar apenas variáveis locais ou use --global para exibir apenas as globais
git config --list
  • Para setar estas variáveis utilize (--local é opcional):
git config --global user.email <email>
git config --global user.name <name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment