
Using Backwater as the remote server, su to gitpriv and change into the repo directory.
$ sudo su - gitpriv $ cd gitrepo
Here there are some top-level repos already, as well has some directories that contain like repos. These include “c-code” and “web.” If creating a repo to store a web app, change into the web directory and create an empty repo. Be sure it has a “.git” extension.
Here I am creating a repo to store the pydio app for LiM.
$ cd web $ git init --bare --shared lim.pydio.git
Now that that is done, the empty repo must be copied to the system where work will be done. Change into the appropriate source directory and clone the repo.
git clone gitpriv@backwater.techmentor.com:gitrepo/web/lim.pydio.git
No populate it with the code and commit it.
$ rsync -av -e 'ssh -p 2222' motion18@share.learninginmotion.com:www/share/* . $ git add -A $ git commit -m "Version 5.2.3 after configuration" $ git tag -a Live-5.2.3 $ git send