(TBD)
Refer HowToUse/Git Daemon/1.7
# mkdir <Local Repository> # cd <Local Repository> # git init # git remote add origin <User Name>@<Host name>:<Repository Path>
(Example)
# git remote add origin syatsuzuka@192.168.56.101:/home/syatsuzuka/repo/test.git
(Setup from scratch)
# touch readme.txt # git add readme.txt # git commit -m 'Initial commit' # git push -u origin master
# git clone <User Name>@<Host Name>:<Repository Path>
(Example)
# git clone syatsuzuka@192.168.56.101:/home/syatsuzuka/repo/test.git
# git add <Modified Files> # git commit -m '<Commit Log>' # git pull origin # git push origin
# mkdir <Local Repository> # cd <Locak Repository> # git init # git remote add origin https://<User Name>@github.com/<User Name>/<Repository Name>.git
(Example)
# git remote add origin https://github.com/syatsuzuka/test.git
# touch readme.txt # git add readme.txt # git commit -m 'Initial commit' # git push -u origin master
# git clone <Repository Path>
(Example)
# git clone https://github.com/syatsuzuka/test.git
# git add <Modified Files> # git commit -m '<Commit Log>' # git pull origin # git push origin
# mkdir <Local Repository> # cd <Locak Repository> # git init # git remote add origin https://<User Name>@bitbucket.org/<User Name>/<Repository Name>.git
(Example)
# git remote add origin https://syatsuzuka@bitbucket.org/syatsuzuka/test.git
# touch readme.txt # git add readme.txt # git commit -m 'Initial commit' # git push -u origin master
# git clone <Repository Path>
(Example)
# git clone https://syatsuzuka@bitbucket.org/syatsuzuka/test.git
# git add <Modified Files> # git commit -m '<Commit Log>' # git pull origin # git push origin
S.Yatsuzuka
If you have questions or comments, please share them below. We will improve the above information referring to your posting.