9. GitHub summary
- https://github.com
- GitHub is a web-based on Git
- Largest host of source code in the world (April 2016: having more than 14
million users and more than 35 million repositories)
- Usually used to host open-source software projects
10. Features
Total features of Git
Integrated issue tracking
Collaborative code review
- Pull request
- ...
...
11. Workflow
- Create a topic branch from master
- Make some commits to improve the
project
- Push this branch to your GitHub
project
- Open a Pull Request on GitHub
- Discuss, and optionally continue
committing
- The project owner merges or closes
the Pull Request
13. Fork
- Simply the same project in your own namespace.
- Don’t have to worry about adding users as collaborators.
- Contribute their changes back to the original repository by creating Pull
Request.
14. Pull Request
- To notify the changes to owner of a project
- Owner project approve or close PR
15. Git vs SVN
- Git is much faster than Subversion
- Subversion allows you to check out just a subtree of a repository, Git requires
you clone the entire repository.
- Git’s repositories are much smaller than Subversions
- E.G: For the Mozilla project, 30x smaller
- Subversion's UI is more mature than Git's
- Walking through versions is simpler in SVN because it uses sequential
revision numbers (1,2,3,..); Git uses unpredictable SHA-1 hashes.