1. Installing dependencies :
yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel
apt-get install -y libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
2. installing Git :Ø For Fedora:
yum install -y git-core
apt-get install -y git-core 3. Configuring environment :
After we have installed git , we should now configure our environment by setting the username and email address, and this configuration have to be made by each member to facilitate the project managing:
ü git config --global user.name “toto zo” ü git config --global user.email toto@zo.com ü git config --global core.editor vim
Other configuration could be made like the output color; (by default is disactived ,which disliked by many users) , but it is easy to activate :
ü git config --global color.ui auto
For a precise color configuration:
ü git config --global color.diff auto # patch color ü git config --global.status auto #status command color ü git config –global color.branch auto #branch command color
4. Git help :Git offer a tutorial in two page manual to understand the mechanism
ü man gittutorial ü man gittutorial-2 By now you can start develop and commit with git |
Setup - Linux >