Make mars.txt a pro/con list
No Change
No Change
branch
mars.txt
mars.txt
mars.txt
mars.txt
mars.txt
Master branch
New idea branch
you test your new idea on this branch
Everyone looks at this unchanged version
git branch pro_con_list
git branch
git checkout pro_con_list
git branch branch_name
git checkout branch_name
git branch
add item to packing_list.txt
add item to packing_list.txt
no change
packing_list.txt
packing_list.txt
packing_list.txt
packing_list.txt
packing_list.txt
packing_list.txt
Combination of red and yellow files
git checkout master
git merge pro_con_list
git branch -D pro_con_list
git merge wolfman_packing
Text from master branch
Text from wolf man_packing branch
}
}
Resource: http://git-scm.com/book/en/