First steps with GIT

This month I am experimenting with ways to manage my research project over the next 4 years. This includes a way to control my source code.

I have been using SVN for the past 3 years during my undergraduate life, but I think I should also have a look at the other options.

I run an various number of platforms for day to day tasks. All of them have the good points and drawbacks for each action I like to perform, but this is not the topic of this post. As a reference point only, I need to make sure I can use my content versioning system on Linux, Windows 7 and Mac OSx.

Clients i use currently:

  • Mac: commandline git
  • Linux: commandline git
  • Windows: msysgit (gui)

 

I have had a little help trough google to setup my GIT repo. The gist of it being:

  • setup WEBDAV server
  • install GIT on server
  • create repo in WEBDAV folder
         1:  git repo-config --global user.name "YOURNAME"
         2:  git repo-config --global user.email YOUREMAIL@DOMAIN.TLD
         3:  git --bare init-db
         4:  git repo-config remotes.origin.url http://URL.TO/WEBDAVFOLDER/
         5:  git update-server-info

  • keep fingers crossed until your first push to the repo works ;-)

 

I don’t have much more for the moment. I have setup all my repos using the msysgit gui so no crazy commandline fun…

I’ll try and post later with the results of my trials with GIT

    A few links:

    http://versioncontrolblog.com/comparison/Bazaar/CVS/Git/Mercurial/Subversion/index.html

    http://stackoverflow.com/questions/871/why-is-git-better-than-subversion

    http://code.google.com/p/msysgit/