Fossil

Check-in [a2ef4310]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added information on 2FA to the new mirroringtogithub.md doc
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a2ef43104ffee42635e5dc50a5c43a6d7426bd93aedd0ee7eaad8017fc6771a6
User & Date: wyoung 2019-03-17 05:05:50
Context
2019-03-17
06:13
Wiki formatting fix pass on www/server.wiki in preparation for more substantial changes: removed all explicit

tags where they don't affect rendering; changed all

with

; added whitespace; moved
tags down to their own line since they're key to the page layout.

check-in: 3406f0eb user: wyoung tags: trunk
05:05
Added information on 2FA to the new mirroringtogithub.md doc check-in: a2ef4310 user: wyoung tags: trunk
04:21
Clarity, formatting, and grammar edit pass on the new www/mirrortogithub.md document. check-in: 5cb3e094 user: wyoung tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/mirrortogithub.md.

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29



30
31
32
33
34
35
36


37
38






39
40
41
42
43
44
45
    supply you with a URL for your project that will look something
    like this:

<blockquote>
https://github.com/username/project.git
</blockquote>

<li><p>Back on your workstation, move to a checkout for your project and
    type:

<blockquote>
<pre>$ fossil git export /path/to/git/repo --autopush \
  https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git</pre>
</blockquote>

<p>   In place of the <code>/path/to...</code> argument above, put in some
      directory name that is <i>outside</i> of your Fossil checkout.  Fossil



      will create this directory if necessary.  This directory will
      become a Git repository that holds a translation of your Fossil
      repository.

<p>   The <code>--autopush</code> option tells Fossil that you want to
      push the Git translation up to GitHub every time it is updated.  Note
      that you will need to augment the URL supplied by GitHub to insert


      your account <font color="orange">username</font> and <font
      color="red">password</font>.







<p>   You can also run the command above outside of any open checkout of
      your project by supplying the “<code>-R&nbsp;repository</code>”
      option.

<li><p>Get some coffee.  Depending on the size of your project, the
       command above can run for several minutes.







|
|






|
|
>
>
>
|
|
<


|
<
>
>
|
|
>
>
>
>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

35
36
37

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    supply you with a URL for your project that will look something
    like this:

<blockquote>
https://github.com/username/project.git
</blockquote>

<li><p>Back on your workstation, move to a checkout for your Fossil
    project and type:

<blockquote>
<pre>$ fossil git export /path/to/git/repo --autopush \
  https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git</pre>
</blockquote>

<p>   In place of the <code>/path/to...</code> argument above, put in
      some directory name that is <i>outside</i> of your Fossil checkout. If
      you keep multiple Fossil checkouts in a directory of their own,
      consider using <code>../git-mirror</code> to place the Git export
      mirror alongside them, for example.  Fossil will create this
      directory if necessary.  This directory will become a Git
      repository that holds a translation of your Fossil repository.


<p>   The <code>--autopush</code> option tells Fossil that you want to
      push the Git translation up to GitHub every time it is updated.

      
<p>   The URL parameter is the same as the one GitHub gave you, but with
      your GitHub <font color="orange">username</font> and <font
      color="red">password</font> added.
      
<p>   If your GitHub account uses two-factor authentication (2FA), you
      will have to <a href="https://github.com/settings/tokens">generate
      a personal access token</a> and use that in place of your actual
      password in the URL. This token should have “repo” scope enabled,
      only.

<p>   You can also run the command above outside of any open checkout of
      your project by supplying the “<code>-R&nbsp;repository</code>”
      option.

<li><p>Get some coffee.  Depending on the size of your project, the
       command above can run for several minutes.