Changes for page Getting Started with Git
Last modified by Bastian Triller on 2013/05/21 17:24
From version 99.1
edited by Kieran Kelleher
on 2011/03/21 18:44
on 2011/03/21 18:44
Change comment:
There is no comment for this version
To version 101.1
edited by Kieran Kelleher
on 2011/03/21 16:01
on 2011/03/21 16:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,7 +28,7 @@ 28 28 29 29 OK, so you are addicted to git, and now you have to work on a team project that is hosted in a remote subversion repository ... and it is making you depressed :-(. Well, you can use manage your local svn working copy using git and be happy again! 30 30 31 - There is a git-svn tool (type mangit-svnin the terminal for details), but that addsyetanothertool into the mix that you have to learn. So while you could use it and YMMV for projects tht aregoingto be onsvnforever,I recommend youjust use the [[git+svn protocol>>http://www.lostechies.com/blogs/derickbailey/archive/2010/02/03/branch-per-feature-how-i-manage-subversion-with-git-branches.aspx]] instead, especially if you are typically working on one particular branch of the remote svn repository.31 +Don't use the git-svn tool, just use the [[git+svn protocol>>http://www.lostechies.com/blogs/derickbailey/archive/2010/02/03/branch-per-feature-how-i-manage-subversion-with-git-branches.aspx]] instead. 32 32 33 33 = I want to learn git before I switch from Subversion = 34 34 ... ... @@ -37,13 +37,13 @@ 37 37 38 38 [[**git+svn** Working Protocol>>http://www.lostechies.com/blogs/derickbailey/archive/2010/02/03/branch-per-feature-how-i-manage-subversion-with-git-branches.aspx]] 39 39 40 -When you first learn about git and you google "git svn" you will learn about a command line tool git-svn which works directly with remote svn repos .Unless youwant to usegit locallyto switch betweensvnbranches, Idon'trecommendit. Use the **git+svn** approach outlined in above blog post instead.40 +When you first learn about git and you google "git svn" you will learn about a command line tool git-svn which works directly with remote svn repos, however my advice is don't use git-svn. Use the **git+svn** approach outlined in above blog post instead. 41 41 42 42 Once you start using git, it becomes addictive ....... you can never go back ...... really, it's that good ...... and it is not hard. 43 43 44 44 Some tips for Eclipse setup and general workflow when using git locally on svn working copies, 45 45 46 -* check out the entire svn branch that you work onusingthe command line, then LINK (import no copy) the projects you want in your workspace using the Subclipse import tool, and46 +* check out the entire svn branch on the command line, then LINK (import no copy) the projects you want in your workspace using the Subclipse import tool, and 47 47 * Do your git operations (status, staging, commit, diff, branching, checkouts, rebase and merge using the terminal). git on the terminal is efficient... honest. 48 48 * Do all your local work and cimmits on branches other than the master branch. 49 49 * Switch to master branch to update from svn and commit those svn updates on the master branch.