| | @@ -0,0 +1,137 @@ |
| 1 | +# How To Mirror A Fossil Repository On GitHub
|
| 2 | +
|
| 3 | +Beginning with Fossil version 2.9, can mirror a Fossil-based
|
| 4 | +project on GitHub ](./mirrorlimitations.md))
|
| 5 | +by following these steps:
|
| 6 | +
|
| 7 | +<ol>
|
| 8 | +<li><p>Create an account on GitHub if you do not have one already. Log
|
| 9 | + into that account.
|
| 10 | +
|
| 11 | +<li><p> into that account.
|
| 12 | +
|
| 13 | +2. Create a new project. GitHub will ask you if you want to prepopulate
|
| 14 | + your project with various things like a README file. Answer "no" to
|
| 15 | + everything. You want a completely blank project. GitHub will then
|
| 16 | + supply you with a URL for <blockquote>
|
| 17 | + 2.9, you can mirro# How To Mirror A Fos</blockquote>
|
| 18 | +
|
| 19 | +<li><p>Back on your workstation, mproject and
|
| 20 | + type:
|
| 21 | +
|
| 22 | +<blockquote>
|
| 23 | +<pre>$ fossil git export /pnning with Fossil GITREPO --autopushssil-based
|
| 24 | +project on GitHub (</pre>
|
| 25 | +</blockquote>
|
| 26 | +
|
| 27 | +<p>ese steps:
|
| 28 | +
|
| 29 | +1. Create an acc one alreready. Log
|
| 30 | + into thatGITREPO
|
| 31 | +2. Create a new p directory name that is not
|
| 32 | + part of your source tree. The directory need not exist - /rerepo --aup>me/project
|
| 33 | + .git
|
| 34 | +
|
| 35 | +3. Back on your workstation, move to a checkout for youour Fossil
|
| 36 | + project and type:
|
| 37 | +
|
| 38 | + <blockquote>
|
| 39 | + <pre>
|
| 40 | + $ f
|
| 41 | +<p>sil git export / Note
|
| 42 | + that you will need to augment the URL supplied by GitHub to insert
|
| 43 | + your accountithub.com/username/projec rsion 2.9, you can mirror a added.
|
| 44 | +
|
| 45 | +<p>e>
|
| 46 | + </. This directory will become a Git
|
| 47 | + repository that holds a translati option.
|
| 48 | +
|
| 49 | +<li><p>ds a translation of your Fossil repository.
|
| 50 | +
|
| 51 | + The <code>--autoutopush</code> option tells Fossil that you want to
|
| 52 | + pcommand above cann your workstation, move to a checkout for your Fossil
|
| 53 | + project and type:
|
| 54 | +
|
| 55 | +<blockquote>
|
| 56 | +<pre>$ fossil git export /p\roreginning with Fossil version 2.9, you can mirror a Fossil-based
|
| 57 | +project on GitHub (</pre>
|
| 58 | +</blockquote>
|
| 59 | +
|
| 60 | +<p>ese steps:
|
| 61 | +
|
| 62 | +1. Create an account on GitHub if you do not have one alreready. Log
|
| 63 | + into that account.
|
| 64 | +
|
| 65 | +2. Create a new project. GitHub will asask you if you want to prepopulate
|
| 66 | + your project with various thingur project happen in a second or less.hehen
|
| 67 | + supply you with a URL for your project that will look sosomething
|
| 68 | + like this:
|
| 69 | +
|
| 70 | + https://github.com/usern<p>me/project.git
|
| 71 | +
|
| 72 | +3. Back on your workstation, ith Fossil GITREPO --autopushssil-based
|
| 73 | +project on GitHub (</pre>
|
| 74 | +</blockquote>
|
| 75 | +
|
| 76 | +<p>ese steps:
|
| 77 | +
|
| 78 | +1. Create an acc one alreready. Log
|
| 79 | + into thatGITREPO
|
| 80 | +2. Create a new p directory name that is not
|
| 81 | + part of your source tree. The directory need not exist - /rerepo --aup>me/project
|
| 82 | + .git
|
| 83 | +
|
| 84 | +3. Back on your workstation, move to a checkout for youour Fossil
|
| 85 | + project and type:
|
| 86 | +
|
| 87 | + <blockquote>
|
| 88 | + <pre>
|
| 89 | + $ f
|
| 90 | +<p>sil git export / Note
|
| 91 | + that you will need to augment the URL supplied by GitHub to insert
|
| 92 | + your accountithub.com/username/projec rsion 2.9, you can mirror a added.
|
| 93 | +
|
| 94 | +<p>e>
|
| 95 | + </. This directory will become a Git
|
| 96 | + repository that holds a translati option.
|
| 97 | +
|
| 98 | +<li><p>ds a translation of your Fossil repository.
|
| 99 | +
|
| 100 | + The <code>--autoutopush</code> option tells Fossil that you want to
|
| 101 | + pcommand above cann your workstation, move to a checkout for your Fossil
|
| 102 | + project and type:
|
| 103 | +
|
| 104 | +<blockquote>
|
| 105 | +<pre>$ fossil git export /p\roreginning with Fossil version 2.9, you can mirror a Fossil-based
|
| 106 | +project on GitHub (</pre>
|
| 107 | +</blockquote>
|
| 108 | +
|
| 109 | +<p>ese steps:
|
| 110 | +
|
| 111 | +1. Create an account on GitHub if you do not have one alreready. Log
|
| 112 | + into that account.
|
| 113 | +
|
| 114 | +2. Create a new project. GitHub will asask you if you want to prepopulate
|
| 115 | + your project with various thingur project happen in a second or less.hehen
|
| 116 | + supply you with a URL for your project that will look sosomething
|
| 117 | + like this:
|
| 118 | +
|
| 119 | + https://github.com/usern<p>me/project.git
|
| 120 | +
|
| 121 | +3. Back on your workstation, move to a checkout for youour Fossil
|
| 122 | + project and type:
|
| 123 | +
|
| 124 | + <blockquote>
|
| 125 | + <pre>
|
| 126 | + $ f
|
| 127 | +<p>sil git export /path/to/git/rerepo --autopush \
|
| 128 | + https://<fon >:<font color="red">password</font>@github.com/username/projec rsion 2.9, you can mirror a added.
|
| 129 | +
|
| 130 | +<p>e>
|
| 131 | + </blockquote>
|
| 132 | +
|
| 133 | + In place of the <c above, put in
|
| 134 | + some directory name that is <i>outside</i> of youour Fossil checkout. If
|
| 135 | + you keep multiple Fossil checkouts in a diritory On GitHub
|
| 136 | +
|
| 137 | +Beginning with Fossil version 2.9, you can mirGIT |