43

Git para quem gosta de Git

Embed Size (px)

Citation preview

Learn Git Branching

http://pcottle.github.io/learnGitBranching/

Uma pequena história(para quem gosta de Git)

Vamos entender o Git(um simples commit)

Branches e merges“fusão”! (*O'Reilly Pt-BR)

Um simples branch(demonstração)

Um simples merge(Demonstração com fast-forward)

Git stash = branch temporário

git log a --not b

git diff a --not b

git merge --ff-only(merge apenas se fast-forward)

Spare branching(branch = nova aba do browser)

git reset x git checkout

O monstro chamado

Rebase

Rebase workflow(git pull --rebase ?)

git rerere(reuse recorded resolution)

git config --global rerere.enabled true

Rebase workflow bisect→

hacktoon.com@hacktoon

[email protected]