=========================================== 31/05/2013
GIT:
Consists of two repository. one on server side and the other in client side (clone of server side repos).
When client commits, modifications were saved to client side repository
To send modifications to server, client must push commits.

  1. install and configure git server
  2. create server git repository
  3. access to remote git repo with eclipse
  4. explore git repository with gitk

  5. install and configure git server:
    sudo apt-get install git-core
    git config –global color.diff auto
    git config –global color.status auto
    git config –global color.branch auto
    git config –global user.name “mabrouk”
    ==> see your config in vim ~/.gitconfig

  6. create server git repository
    cd /home/mba
    mkdir mbaGitRepo
    cd mbaGitRepo
    git init –bare

  7. access to remote git repo with eclipse
    Window->Show View->git Repositories
    click on icon “Clone a Git Repository and add the clone to this view”
  8. explore git repository with gitk
    install gitk : sudo apt-get install gitk
    launch gitk  : gitk