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 [email protected]
         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/

    2 Comments

    1. Posted 3 September 2009 at 18:13 | #

      I want to try out git but don’t have much time lately… Still sticking on svn…

      And there is a git plug-in for eclipse that should work for all the platform.

    2. Posted 4 September 2009 at 10:09 | #

      I’ve been trying to use this one: http://git.or.cz/gitwiki/EclipsePlugin

    Post a Comment

    Your email is never published nor shared. Required fields are marked *

    *
    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>