Git on Windows
I'm just starting to learn about this so this is pretty sparse. I got started on this when I completely munged my svn repo trying to upgrade my Drupal. I am going to see if git really does taste better and is less filling.
Install Cygwin
Install git from cygwin
Install the git gui msysgit from:
http://code.google.com/p/msysgit/
Get the svn repository:
git svn clone http://pet-jas-ibmm58.americas.demant.com:8080/svn/gfr2_copy_r306/ git_frontrow_gfr2
(the above command is all on one line)
git svn clone is equivalent to
git svn init
git svn fetch
For a standard svn repository with trunk, branches and tags you can use the –s stdlayout option of git clone.
Cygwin changes the execute bit: old mode 100755 new mode 100644. Git thinks everything has changes. To fix this:
Cd to the repository directory and run:
git repo-config core.fileMode false
Get rid of file mode changes:
git reset --hard
