How I setup Git in DreamHost

Posted on   09-10-2011 11:04 by admin

Server side
1. SSH to DreamHost Server
2. Choose a appropriate root to create the repo folder
when you ssh u will be by default under this directory
eg - /home/USERNAME/
3. Create a folder gitr

4. Initialize a empty repo
git --bare init

Client Side
1. create a directory to clone the repo
mkdir test
cd test

2. clone the repository
git clone ssh://USERNAME@test.com/home/USERNAME/gitrepo

3. change the directory to cloned gitrepo
cd gitrepo

4. create files in to this repo

5. add and commit to the repository
git add .
git commit -m "commiting new files"

6. push the commits
git push origin master

    Source: www.bliss5.com
    Link: http://www.bliss5.com/articles
Comments:
    click here on   12-07-2017 05:03
    Thanks for every other informative site. Where else may I am getting that type of information written in such an ideal manner? I have a mission that I am just now running on, and I have been on the glance out for such information. click here http://farm
 

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.