James Moger
2013-05-10 8d44aaddf906a9a08fbd53b48332140a66d94b11
1
2
3
4
5
6
7
8
9
10
11
12
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
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"  
      xml:lang="zh-CN"  
      lang="zh-CN"> 
 
<body>
<wicket:extend>
 
    <h2>空版本库</h2>
    <p></p>
        <div class="row">
            <div class="span10">
                <div class="alert alert-success">
                    <span wicket:id="repository" style="font-weight: bold;">[repository]</span> 版本库目前为空。
                    Gitblit 无法查看。
                    <p></p>        
                    请往此网址进行推送 <span wicket:id="pushurl"></span>
                    <p></p>
                    <hr/>
                    当你推送完毕后你可以 <b>刷新</b> 此页面重新查看您的版本库。
                </div>
            </div>
        </div>
        
        <h3>Git 命令行格式</h3>
        <span style="padding-bottom:5px;">如果您没有本地 Git 版本库, 您可以克隆此版本库, 提交一些文件, 然后将您的提交推送回Gitblit。</span>
        <p></p>
        <pre style="padding: 5px 30px;" wicket:id="cloneSyntax"></pre>
        <p></p>
        <span style="padding-bottom:5px;">如果您已经有一个本地的提交过的版本库, 那么您可以将此版本库加为远程
        版本库,并进行推送。</span>
        <p></p>
        <pre wicket:id="remoteSyntax" style="padding: 5px 30px;"></pre>
        <p></p>
        <h3>学习 Git</h3>
        如果您不明白这些信息什么意思, 您可以参考 <a href="http://book.git-scm.com">Git Community Book</a> 或者 <a href="http://progit.org/book" target="_blank">Pro Git</a> 去更加深入的学习 Git 的用法。
        <p></p>
        <h4>开源 Git 客户端</h4>
        <ul>
            <li><a href="http://git-scm.com">Git</a> - 官方, 命令行版本 Git</li>
            <li><a href="http://tortoisegit.googlecode.com">TortoiseGit</a> - 与 Windows 资源管理器集成 (需要官方, 命令行 Git 的支持)</li>
            <li><a href="http://eclipse.org/egit">Eclipse/EGit</a> - Git for the Eclipse IDE (基于 JGit, 类似 Gitblit)</li>
            <li><a href="https://code.google.com/p/gitextensions/">Git Extensions</a> - C# 版本的 Git 前端,与 Windows 资源管理器和 Visual Studio 集成</li>
            <li><a href="http://rowanj.github.io/gitx/">GitX-dev</a> - Mac OS X Git 客户端</li>            
        </ul>
        <p></p>
        <h4>商业/闭源 Git 客户端</h4>
        <ul>
            <li><a href="http://www.syntevo.com/smartgithg">SmartGit/Hg</a> - Java 版本的支持 Git, Mercurial 和 SVN 客户端应用 (需要官方, 命令行 Git 的支持)</li>
            <li><a href="http://www.sourcetreeapp.com/">SourceTree</a> - 免费的 Mac Git Mercurial 以及 SVN 客户端, Mercurial, and SVN</li>
            <li><a href="http://www.git-tower.com/">Tower</a> - Mac OS X Git 客户端</li>
        </ul>
</wicket:extend>    
</body>
</html>