Archive:Development/Tutorials/Git: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
If you want to learn more about git, see the following resources: | If you want to learn more about git, see the following resources: | ||
*[http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html Illustrated git cheat sheet] - Overview of the most commonly used commands | *[http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html Illustrated git cheat sheet] - Overview of the most commonly used commands | ||
*[http://cheat.errtheblog.com/s/git | *[http://cheat.errtheblog.com/s/git Another git cheat sheet] - Quick reference | ||
*[http://git.or.cz/course/svn.html git <-> svn crash course] - Maps git commands to svn commands | *[http://git.or.cz/course/svn.html git <-> svn crash course] - Maps git commands to svn commands | ||
*[http://tom.preston-werner.com/2009/05/19/the-git-parable.html The Git Parable] - Essential reading if you want to truly understand git. | *[http://tom.preston-werner.com/2009/05/19/the-git-parable.html The Git Parable] - Essential reading if you want to truly understand git. |
Revision as of 22:49, 10 March 2010
Although KDE is currently using SVN, we're working on moving to git. Also, a growing number of developers are using git-svn to contribute to KDE.
There are many resources available for learning about Git; the techbase pages below provide a kde-specific introduction, based on the most common tasks. After those links is a list of external documentation we've found useful.
Pages
Note: these pages are not complete. help would be appreciated. :) The idea is to provide information in more of a 'recipe' style than 'tutorial': first provide simple commands that people can use Right Now for straightforward tasks, then links to other pages or external git documentation for the tricky things.
Amarok has their own git tutorial, which has a fair amount of overlap with these git pages (we're copying from them ;)
Getting Started
- Using kde-qt (done)
- Using git-svn with kde's svn (needs cleanup)
- What on earth does this mean?
- Accessing or setting up a KDE project on Gitorious.org (25% done)
- Basic git commands (greeneg)
- Contributing to KDE projects on gitorious (85% done)
- Handling common git error and information messages (todo)
- How to specify git file and directory version numbers (todo)
- How to organise branches, do comparisons between branches, minimize recompilation when switching branches, ... (todo)
Intermediate/Advanced
- things to avoid / best practices (10% done)
- Taking advantage of git's features (20% done)
- useful recipes
Further Reading
If you want to learn more about git, see the following resources:
- Illustrated git cheat sheet - Overview of the most commonly used commands
- Another git cheat sheet - Quick reference
- git <-> svn crash course - Maps git commands to svn commands
- The Git Parable - Essential reading if you want to truly understand git.
- Git Magic - A good intro to git (in several languages!)
- git for gnome developers
- The official tutorial introduction to Git
- Pro Git - An easy to understand book on git (CC licensed).