Using Git

Git small howto
This is a small note for developpers. Bio++ is now using git as its versioning system. There are a lot of tutorials on the web dedicated to the use of git. Here are some very basic features:

Get a copy of the source code from the central repository:

To view the status of your local repository, do:

To check the modifications done to a file:

Before commiting a file, you need to add this file to the commit-list:

and then commit it:

Compared to CVS or SVN, commits are local. If you want to send your modifications to the central directory, you of course need an ssh access on the server, and then: Before doing this, you will have to tell a bit more about yourself by setting (only once): In order to update your local repository from the central one, you need to type:

You will always have to pull before pushing!