##// END OF EJS Templates
Improved examples for network support in README....
Thomas Arendsen Hein -
r3689:25e549e9 default
parent child Browse files
Show More
@@ -76,15 +76,17 b' Network support:'
76 76 foo$ hg clone http://selenic.com/hg/
77 77 foo$ cd hg
78 78
79 # export your current repo via HTTP with browsable interface
80 foo$ hg serve -n "My repo" -p 80
79 # make your current repo available via http://server:8000/
80 foo$ hg serve
81 81
82 # pushing changes to a remote repo with SSH
83 foo$ hg push ssh://user@example.com/~/hg/
82 # pushing and pulling changes to/from a remote repo with SSH
83 foo$ hg push ssh://user@example.com/my/repository
84 foo$ hg pull ssh://user@example.com//home/somebody/his/repository
84 85
85 # merge changes from a remote machine
86 bar$ hg pull http://foo/
86 # merge changes from a remote machine (e.g. running 'hg serve')
87 bar$ hg pull http://foo:8000/
87 88 bar$ hg merge # merge changes into your working directory
89 bar$ hg commit # commit merge in to your local repository
88 90
89 91 # Set up a CGI server on your webserver
90 92 foo$ cp hgweb.cgi ~/public_html/hg/index.cgi
General Comments 0
You need to be logged in to leave comments. Login now