diff options
-rw-r--r-- | README | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -29,12 +29,18 @@ Pull it like this: git clone http://source.jones.dk/ikiwiki.git -To publish your own forked repository through web, you need to create a special -public repository that you "push" your changes into from your private working -repository (the --all option is rewuired only initially) - like this: +To publish your own forked repository through web, you first need to create a +special public repository that you "push" your changes into from your private +working repository - like this: GIT_DIR=public_dir/repository_name.git git --bare init --shared chmod +x public_dir/repository_name.git/hooks/post-update + +To actually use your newly created public repository as above, you first need +to populate it with your current working repository (the --all option is only +this once, not on subsequent pushes) - like this: + + git remote add origin git-reference-to-public-repository git push --all To resyncronize an older fork of the repository, re-applying local changes on |