In this talk, Teehan+Lax developer Ash Furrow will guide designers through the basics of GitHub. He’ll discuss why GitHub is important and teach you the high-level concepts that will get you started with GitHub today.
Git is a Tool for Managing Files • Git manages simple files • Text and flat graphics, not PSDs • CSS, HTML, PNG • PSDs are too complex for git to manage • Use LayerVault, instead 9
A Repose About Repos • A repository – or “repo” – is a home for git to put all its files • Repos can exist locally (on your computer) or remotely (on GitHub) – more on this later 13
Branches • Hard to define • Branches are used to isolate changes to files • Branches are cheap • Create lots of ‘em • Ideally one for each new feature/bug fix 14
Branching • Creating a new branch is called “branching” • Branch to create new features • Create new branches off of “master” branch • Master is the canonical branch • “Latest and Greatest” 15
Commits • When you’ve completed a feature or a fix, make a commit • Commits are snapshots of the staged changes you made • Not all changes need to be committed 18
Pull Requests • Pull requests are requests to have changes “pulled” into another branch, usually master • Pull requests exist only on GitHub • “Request” because someone else is looking it over for mistakes • Not that you ever make those 31
Issues • GitHub has “Issues” • Issues are conversations about the code • Bugs, features, improvements, etc... • You can reference issues in commit messages 39