1. in a working directory run:
$ pwd /home/foo/project $ git update-server-info
2. in a parent directory start HTTP server:
$ cd .. $ pwd /home/foo $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ...
3. on a remote machine clone/pull/whatever:
$ git clone http://your_ip:8000/project/.gitStep 1 have to be executed manually when local repository has changed.
Brak komentarzy:
Prześlij komentarz