Commit
+28 -11 +/-1 browse
1 | diff --git a/templates/index.html b/templates/index.html |
2 | index 8b59f48..df22c9f 100644 |
3 | --- a/templates/index.html |
4 | +++ b/templates/index.html |
5 | @@ -7,18 +7,35 @@ |
6 | {% endblock header %} |
7 | |
8 | {% block content %} |
9 | + |
10 | + <p>To use this Git LFS server in your project, follow these steps:</p> |
11 | <p> |
12 | - To use this Git LFS server in your project, add a file named |
13 | - <code>.lfsconfig</code> to the root of your repository with the |
14 | - following contents:</p> |
15 | - <p> |
16 | - <pre class="code">[lfs] |
17 | - url = "{{ api }}/my-org/my-repo"</pre> |
18 | - </p> |
19 | - <p> |
20 | - ...where <code>my-org/my-repo</code> is the name of the Git |
21 | - repository. |
22 | - </p> |
23 | + <ol> |
24 | + <li> |
25 | + <p>Add a file named <code>.lfsconfig</code> to the root of your |
26 | + repository with the following contents:</p> |
27 | + <p><pre class="code">[lfs] |
28 | + url = "{{ api }}/my-org/my-repo"</pre></p> |
29 | + <p>...where <code>my-org/my-repo</code> is the name of the Git repository.</p> |
30 | + <p>Make sure <code>.lfsconfig</code> is committed:</p> |
31 | + <p><pre class="code">git add .lfsconfig</pre></p> |
32 | + </li> |
33 | + <li> |
34 | + <p>Select the file types you'd like Git LFS to manage (or directly edit |
35 | + your <code>.gitattributes</code>). You can configure additional file |
36 | + extensions at anytime.</p> |
37 | + <p><pre class="code">git lfs track "*.psd"</pre></p> |
38 | + <p>Make sure <code>.gitattributes</code> is committed:</p> |
39 | + <p><pre class="code">git add .gitattributes</pre></p> |
40 | + </li> |
41 | + <li> |
42 | + <p>Use <code>git add</code>, <code>git commit</code>, and <code>git |
43 | + push</code> as you normally would:</p> |
44 | + <p><pre class="code">git add foo.psd |
45 | + git commit -m "Add design file" |
46 | + git push</pre></p> |
47 | + </li> |
48 | + </ol> |
49 | <p> |
50 | Please see <a href="https://git-lfs.github.com/">https://git-lfs.github.com/</a> |
51 | for more information about how to use the Git LFS client. |