summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 10 insertions, 0 deletions
diff --git a/README b/README
index 4050872..3becd90 100644
--- a/README
+++ b/README
@@ -53,6 +53,16 @@ once, not on subsequent pushes) - like this:
git config remote.origin.url git-reference-to-public-repository
git push --all
+To instead populate your newly created public repository with a multi-branched
+local repository, first make a complete clone with all branches setup locally,
+and push it all - like this for repository with master and master-da branches:
+
+ git clone git-reference-to-old-public-repository some-temp-dir
+ cd some-temp-dir
+ git checkout -b master-da origin/master-da
+ git config remote.origin.url git-reference-to-public-repository
+ git push --all
+
To resyncronize an older fork of the repository with newer upstream changes, do
like this (skip first command on subsequent updates):