Last Summit, we walked you through a migration from SVN to Git. So now you’re on Git – but what do you do with those branches? Branching in Git is great, but can be intimidating for those coming over from other SCMs. In this talk, you will learn all about branches – how to use them, organize them, and even revert an accidental merge. Embrace those branches and make them work for your team.
28. Anatomy of a branch
4942f87
.git/refs/heads/master branch
4942f87f225899b15b9f1c1ebe6a4e61663b8568
29. Anatomy of a branch
4942f87
.git/refs/heads/master branch
4942f87f225899b15b9f1c1ebe6a4e61663b8568
.git/HEAD head
ref: refs/heads/master
30. Anatomy of a branch
git checkout -b foo/mybranch
31. Anatomy of a branch
4942f87
.git/refs/heads/foo/mybranch branch
4942f87f225899b15b9f1c1ebe6a4e61663b8568
.git/HEAD head
ref: refs/heads/foo/mybranch
32. Anatomy of a branch
.git/objects/49/42f87f225899b15b9f1c1ebe6a4e61663b8568
tree 9441d4ef753148ce9cb5aee3966fa6e4f5366be5
parent 4942f87f225899b15b9f1c1ebe6a4e61663b8568
author Marcus Bertrand <mbertrand@atlassian.com> 1408992616 -0700
committer Marcus Bertrand <mbertrand@atlassian.com> 1408992616 -0700
!
Made some edits to the readme
commit
33. Anatomy of a branch
.git/objects/49/42f87f225899b15b9f1c1ebe6a4e61663b8568
tree 9441d4ef753148ce9cb5aee3966fa6e4f5366be5
parent 4942f87f225899b15b9f1c1ebe6a4e61663b8568
author Marcus Bertrand <mbertrand@atlassian.com> 1408992616 -0700
committer Marcus Bertrand <mbertrand@atlassian.com> 1408992616 -0700
!
Made some edits to the readme
commit
34. Anatomy of a branch
4942f87
bd1174c
.git/refs/heads/foo/mybranch branch
bd1174cd0f30fe9be9efdd41dcd56256340f230e
.git/HEAD head
ref: refs/heads/foo/mybranch
35. Anatomy of a branch
HEAD
master foo/mybranch
4942f87 bd1174c
90. The Bitbucket Team
• 2 Product Managers
• 1 Architect
• 1 Designer
• 1QA
• 3 Team Leads
• Support, Tech Writing, Product
Marketing & more!
• 1 TL and 3 Operations
• 15 Developers on 2 teams in
Austin and San Francisco
• Backend
• Front end
!