Archive:Development/Tutorials/Git: Difference between revisions

From KDE TechBase
No edit summary
(Deleted as discussed on k-c-d.)
Line 1: Line 1:
{{warning|This page is yet to be reviewed for changes required by the migration to Git.  Information and commands on this page may no longer be valid and should be used with care. Please see the [[Development/Git|KDE Git hub page]] for more details. }}
{{warning| This page is obsolete. Proceed to [[Development/Git]].}}
 
KDE is currently [[Projects/MovetoGit|migrating from SVN to Git]]. As of 29 Jan 2011 kde-qt, kdelibs and kdebase are in Git along with many other KDE applications, available at [https://projects.kde.org/projects projects.kde.org].  The remaining KDE modules will be migrated in due course.
 
Your first resource for details on using Git with KDE should be the [http://community.kde.org/Sysadmin/GitKdeOrgManual git.kde.org manual].
 
There are many resources available for learning about [http://git-scm.com/ 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 [[Getting_Started/Sources/Amarok_Git_Tutorial|git tutorial]], which has a fair amount of overlap with these git pages (we're copying from them ;)
 
====Getting Started====
Many of these links are now outdated or are incomplete, please refer to the [http://community.kde.org/Sysadmin/GitKdeOrgManual git.kde.org manual] as your primary resource.
 
*[http://community.kde.org/Sysadmin/GitKdeOrgManual git.kde.org manual]
*[[/kde-qt|Using kde-qt]] (done)
*[[/git-svn|Using git-svn with kde's svn]] (needs cleanup)
*[[/Basics|Basic git commands]] (greeneg)
*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====
*[[/BestPractices|things to avoid / best practices]] (10% done)
*[[/Intermediate|Taking advantage of git's features]] (20% done)
*[[/Recipes|useful recipes]]
 
=== Further Reading ===
 
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://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://tom.preston-werner.com/2009/05/19/the-git-parable.html The Git Parable] - Essential reading if you want to truly understand git.
*[http://www-cs-students.stanford.edu/~blynn/gitmagic/ Git Magic] - A good intro to git (in several languages!)
*[http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html The official tutorial introduction to Git]
*[http://progit.org/book/ Pro Git] - An easy to understand book on git (CC licensed).

Revision as of 20:12, 28 April 2011

Warning
This page is obsolete. Proceed to Development/Git.