Você está na página 1de 43

Learn Git Branching

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

Uma pequena histria


(para quem gosta de Git)

Vamos entender o Git


(um simples commit)

Branches e merges
fuso! (*O'Reilly Pt-BR)

Um simples branch
(demonstrao)

Um simples merge
(Demonstrao com fast-forward)

Git stash = branch temporrio

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

contact@hacktoon.com

Você também pode gostar