James Moger
2015-12-08 f75535759570bbc4784ee8324b0d1b8dfb01766f
commit | author | age
bd0e83 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
PM 2 <html xmlns="http://www.w3.org/1999/xhtml"  
3       xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"  
4       xml:lang="en"  
5       lang="en"> 
6
7 <body>
8 <wicket:extend>
9 <div class="container">
10 <div class="markdown">
11 <div class="row">
12 <div class="span10 offset1">    
13     
14     <div class="alert alert-danger">
697905 15     <h3><center>Using the filestore</center></h3>
bd0e83 16     <p>
697905 17         <strong>All clients intending to use the filestore must first install the <a href="https://git-lfs.github.com/">Git-LFS Client</a> and then run <code>git lfs install</code></strong><br/>
PM 18         <p>
19         If using password authentication it is recommended that you configure the <a href="https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage">git credential storage</a> to avoid Git-LFS asking for your password on each file<br/>
20         On Windows for example: <code>git config --global credential.helper wincred</code>
21         </p>
bd0e83 22     </p>
PM 23     </div>
24         
25     <h3>Clone</h3>
26     <p>
697905 27     Just <code>git clone</code> as usual, no further action is required as Gitblit is configured to use the default Git-LFS end point <code>{repository}/info/lfs/objects/</code>.<br/>
bd0e83 28     <i>If the repository uses a 3rd party Git-LFS server you will need to <a href="https://github.com/github/git-lfs/blob/master/docs/spec.md#the-server">manually configure the correct endpoints</a></i>.
PM 29     </p>
30     
31     <h3>Add</h3>
32     <p>After configuring the file types or paths to be tracked using <code>git lfs track "*.bin"</code> just add files as usual with <code>git add</code> command.<br/>
33     <i>Tracked files can also be configured manually using the <code>.gitattributes</code> file</i>.</p>
34     
35     <h3>Remove</h3>
36     <p>When you remove a Git-LFS tracked file only the pointer file will be removed from your repository.<br/>
37     <i>All files remain on the server to allow previous versions to be checked out.</i>
38     </p>
39     
40     <h3>Learn more...</h3>
41     <p><a href="https://github.com/github/git-lfs/blob/master/docs/spec.md">See the current Git-LFS specification for further details</a>.</p>
42     <br />
43     
697905 44
bd0e83 45 </div>
PM 46 </div>
47 </div>
48 </div>
49 </wicket:extend>    
50 </body>
51 </html>