I’m in the process of migrating our Subversion repositories to a set of git repositories on my WebFaction space. Our svn repository structure uses some svn:externals, so I’m trying to replace them with the git-subtree extension, but I’m not sure how to set it up or install it. I’ve used git a fair amount, but I’m far from being a pro. Any ideas, folks?
This question is marked "community wiki".
asked 14 Jul '11, 19:26 nitefloat |
You should be able to install git-subtree by:
Compiling git from source These commands can compile git from source and install it into ~/git
Next, ensure that ~/bin is first on the PATH for both login and non-login shells:
And log out and back in again. Cloning the git-subtree source repository You can clone the git-subtree repository using the following command:
Copying the file 'git-subtree.sh' into your git scripts directory Since git is now installed in ~/git, just:
Hope that helps! answered 14 Jul '11, 19:54 ryans ♦♦ That totally worked! Thanks very much!
(14 Jul '11, 20:29)
nitefloat
|