diff options
-rw-r--r-- | README | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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): |