Changes for page Getting Started with Git
Last modified by Bastian Triller on 2013/05/21 17:24
From version 141.1
edited by Kieran Kelleher
on 2011/03/21 18:51
on 2011/03/21 18:51
Change comment:
There is no comment for this version
To version 157.1
edited by Kieran Kelleher
on 2011/04/01 15:08
on 2011/04/01 15:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,20 +1,34 @@ 1 += Got Git? If not, Get Git here = 2 + 3 +[[OS X dmg Installer>>http://code.google.com/p/git-osx-installer/]] 4 + 1 1 = Learning About git = 2 2 3 -[[Free Online Pro Git book>>http://progit.org/book/]] 4 -[[Git User Manual>>http://www.kernel.org/pub/software/scm/git/docs/user-manual.html]] 5 -[[Git Reference>>http://gitref.org/index.html]] 6 -[[Linus Torvalds talks about git>>http://www.youtube.com/watch?v=4XpnKHJAok8]] 7 +Start here: 7 7 8 - =InstallGit=9 +* [[Excellent Concept Tutorial on Git>>http://www.eecs.harvard.edu/~~cduan/technical/git/]] 9 9 10 -[[OS X dmg Installer>>http://code.google.com/p/git-osx-installer/]] 11 +Have a Good Laugh here as Linus Torvalds Evangelizes git: 12 +//this is more fun than learning, but gives you insight into the motivation behind git!// 11 11 14 +* [[Linus Torvalds talks about git>>http://www.youtube.com/watch?v=4XpnKHJAok8]] 15 + 16 +Learn the basics here: 17 + 18 +* [[Everyday GIT With 20 Commands Or So>>http://www.kernel.org/pub/software/scm/git/docs/everyday.html]] 19 +* [[Free Online Pro Git book>>http://progit.org/book/]] 20 + 21 +Get the Detailed Reference Materials Here: 22 + 23 +* [[Git User Manual>>http://www.kernel.org/pub/software/scm/git/docs/user-manual.html]] 24 +* [[Git Reference>>http://gitref.org/index.html]] 25 + 12 12 = Git Goodies = 13 13 14 14 === Git Bash Completion === 15 15 16 -This is really an absolute necessity and a **huge** productivity improvement. Basically you need the bash completion script from the source tarball and use your shell profile to include it whenever you open a shell. Just google"gitbashcompletion"or checkoutthe tipshere to set it up:17 -[[Git Bash Completion>>http:// superuser.com/questions/31744/how-to-get-git-completion-bash-to-work-on-mac-os-x]]30 +This is really an absolute necessity and a **huge** productivity improvement. Basically you need the bash completion script from the source tarball and use your shell profile to include it whenever you open a shell. See the **Auto-Completion** section on this page: 31 +[[Git Bash Auto-Completion>>http://progit.org/book/ch2-7.html]] 18 18 19 19 === GitX git GUI === 20 20 ... ... @@ -57,7 +57,7 @@ 57 57 * Switch to master branch before synchronizing with remote svn repo. 58 58 * You can use ##git stash## to temporarily put aside your uncommitted changes before doing an svn update. Then use ##git stash pop## to replay those uncommitted changes onto the working copy. 59 59 60 -{{code title=" Anatomonyof an svn update operation on a git-managed svn working copy"}}74 +{{code title="Mechanics of an svn update operation on a git-managed svn working copy"}} 61 61 62 62 63 63 # Assume you are currently on a working branch. Verify this and check for uncommitted changes. ... ... @@ -99,3 +99,20 @@ 99 99 git stash pop 100 100 101 101 {{/code}} 116 + 117 +{{code title="Mechanics of an svn commit operation from a git-managed svn working copy"}} 118 + 119 +# First perform an svn update as outlined above in the previous section 120 + 121 +# Switch to the master branch 122 +git checkout master 123 + 124 +# Merge your working branch with the master 125 +git merge workingbranch 126 + 127 +# Use svn status, svn add and svn commit to commit your changes to the remote svn repository 128 + 129 +# Switch back to your workingbranch and get back to work. 130 + 131 + 132 +{{/code}}