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