Revert "corrected the update-the-laptop-from-the-server section"
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Mar 2010 17:40:02 +0000 (13:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Mar 2010 17:40:02 +0000 (13:40 -0400)
No, we don't normally push from servers to laptops. Because
most laptops do not have publicly accessible IP addresses,
for one thing. Also because there's really no reason to ssh to
the server from your laptop in order to update the laptop when you
can just pull.

doc/tips/laptop_wiki_with_git.mdwn

index 8570833259b0db90c2b90c369bc64ee4645cc9db..85e26c729a07178c9027795f6f81d33936d019dc 100644 (file)
@@ -68,12 +68,5 @@ used by the ikiwiki CGI, and another which you can use for updating via
 git).
 
 When you want to update the server from the laptop, do a `git push` from
-within the laptop's bare repository.
-
-To update the laptop from the server, add a section for the laptop to the config file of the server's bare repository:
-
-       [remote "laptop"]
-               fetch = +refs/*:refs/*
-               url = me@laptop:/path/to/bare/repository
-
-Then do a `git push laptop` from within the server's bare repository.
+within the laptop's bare repository, and likewise do a `git pull` to update
+the laptop from the server.