Open Source Collaboration with Git and GitHub - PowerPoint PPT Presentation

1 / 41
About This Presentation
Title:

Open Source Collaboration with Git and GitHub

Description:

CHEAP. 4. Cheap Branching. Git Internals: Branches. branchname. HEAD. Branching. Distributed ... Clone and connect your local repository. Write tests, implement ... – PowerPoint PPT presentation

Number of Views:1652
Avg rating:3.0/5.0
Slides: 42
Provided by: naq
Category:

less

Transcript and Presenter's Notes

Title: Open Source Collaboration with Git and GitHub


1
Open Source Collaboration with Git and GitHub
Nick Quaranto
2
whoami
  • 4th Year Software Engineering Major
  • From Buffalo
  • Snow is awesome
  • Go Bills
  • Rubyist
  • GitHub Blogger

3
Version control sucks.
4
But it doesnt have to.
5
(No Transcript)
6
History
7
I'm an egoistical bastard, and I name all my
projects after myself. First Linux, now git.
-Linus Torvalds
8
History
  • BitKeeper debacle
  • Design Goals
  • CVS as an example of what not to do
  • Distributed workflow
  • Strong safeguards against corruption
  • Very high performance
  • In development since 2005

9
(No Transcript)
10
Fast
1. Fast
11
Directed Acyclic Graph
12
Small
2. Small
13
Git Internals Blobs
main.c
457aef93ff7ffbb289f7e1384f900679eacf044a
14
Git Internals Trees
15
Git Internals Commits
16
Git Internals Commits
17
Local
3. Local
18
The Staging Area
19
CHEAP.
4. Cheap Branching
20
Git Internals Branches
branchname
HEAD
21
Branching
22
Distributed
5. Distributed
23
Git Internals Remotes
branchname
remotes/server/name
HEAD
24
Local vs. Remote
25
Any Workflow
6. Multiple Workflows
26
Centralized
27
Integration Manager
28
Benevolent Dictator
29
Failboat.
Its not perfect.
30
The downsides
  • Complexity
  • Windows FTL
  • What's an IDE?
  • Unreadable source
  • Needs some maintenance

31
(No Transcript)
32

33

34
(No Transcript)
35
(No Transcript)
36
(No Transcript)
37
(No Transcript)
38
(No Transcript)
39
How to Contribute
  • Fork a repository at GitHub
  • Clone and connect your local repository
  • Write tests, implement functionality
  • Commit your local changes
  • Push your changes to your fork
  • Make a pull request
  • Profit!!

40
Demo
41
git log
  • Kudos to Scott Chacon who made
  • http//git-scm.com
  • http//whygitisbetterthanx.com
  • And to Michael Hartl
  • for Building the Insoshi Social Network
  • Wikipedia too.
  • nick_at_quaran.to
  • http//litanyagainstfear.com
Write a Comment
User Comments (0)
About PowerShow.com