Instructions for installing GIT on Ubuntu:


ITEMACTION
Installing GIT
  1. sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev git-core git-gui gitolite
Configuring GIT
  1. git config --global user.name "<your_name>"
  2. git config --global user.email <your_email>
  3. git config --global core.editor geany
  4. git config --global merge.tool vimdiff
Setting Up Repository on Server
  1. ssh -X <username>@itsdev3.vip.gatech.edu
  2. cd /home/<username>
  3. git clone <username>@itsdev3.vip.gatech.edu:/opt/git/ITS-GT.git html
  4. cd html
  5. git branch dev
Setting Up Repository on Local
  1. cd /var/www
  2. git clone <username>@itsdev3.vip.gatech.edu:/home/<username>/html
  3. cd html
Pushing to Remote Repository
  1. git add *
  2. git commit -am "my message"
  3. git push origin --delete dev
  4. git push origin HEAD:dev
[On Server] Merging dev with master Branch
  1. cd /home/<username>/html
  2. git checkout master
  3. git merge dev