Skip to content

Instantly share code, notes, and snippets.

@thiagovsk
Last active April 26, 2021 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagovsk/dd602b2bf654bdf71ad6499084592217 to your computer and use it in GitHub Desktop.
Save thiagovsk/dd602b2bf654bdf71ad6499084592217 to your computer and use it in GitHub Desktop.
git techtalk
- Primeira coisa a se fazer no git: Configurar o global user e global email
- Dia dia git, o que fazer quando ligo meu pc para trabalhar?
- Diferença entre merge e rebase? Pra que servem?
- https://blog.kitware.com/source/files/3_593278662_png
- https://www.atlassian.com/git/tutorials/merging-vs-rebasing/conceptual-overview
- Infinitos comandos git, logo um gitconfig pra facilitar as coisas.
- Comandos úteis (avançados...?)
- git branch -a
- git cherry-pick -x
- git commit -p
- git commit --amend
- git revert
- git commit --fix-up
- git rebase -i
- git reset --hard
- git reset --soft
- git reser HEAD
- git show --cached
- git pull --rebase
- git remote add e git remote update
- git blame arquivo
- git stash (FTW)
- git rebase (resolvendo conflitos)
- git checout origin/master arquivo (volta arquivo pra master)
- git log -p (vendo o historico do arquivo_
- git reflog (te salvando de cagadas)
- git bissect (do capeta)
- branch bem cagada: test_bissect
- https://www.alexkras.com/19-git-tips-for-everyday-use/#git-bisect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment