summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html
blob: c5f9bc95b8ba16b5e2e8fa7d65d3ce226a142ba7 (plain)
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
57
58
59
<!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="en"  
      lang="en"> 

<body>
<wicket:extend>
<div class="container">
	<h2>Empty Repository</h2>
	<p></p>
		<div class="row">
			<div class="span10">
				<div class="alert alert-success">
					<span wicket:id="repository" style="font-weight: bold;">[repository]</span> is an empty repository and can not be viewed by Gitblit.
					<p></p>		
					Please push some commits to <span wicket:id="pushurl"></span>
					<p></p>
					<hr/>
					After you have pushed commits you may <b>refresh</b> this page to view your repository.
				</div>
			</div>
		</div>
		
		<h3>Git Command-Line Syntax</h3>
		<span style="padding-bottom:5px;">If you do not have a local Git repository, then you should clone this repository, commit some files, and then push your commits back to Gitblit.</span>
		<p></p>
		<pre style="padding: 5px 30px;" wicket:id="cloneSyntax"></pre>
		<p></p>
		<span style="padding-bottom:5px;">If you already have a local Git repository with commits, then you may add this repository as a remote and push to it.</span>
		<p></p>
		<pre wicket:id="remoteSyntax" style="padding: 5px 30px;"></pre>
		<p></p>
		<span style="padding-bottom:5px;">If your repository is meant to be kept in sync with an upstream repository, then you may add it.</span>
		<p></p>
		<pre wicket:id="upstreamSyntax" style="padding: 5px 30px;"></pre>
		<p></p>
		<h3>Learn Git</h3>
		If you are unsure how to use this information, consider reviewing the <a href="http://book.git-scm.com">Git Community Book</a> or <a href="http://progit.org/book" target="_blank">Pro Git</a> for a better understanding on how to use Git.
		<p></p>
		<h4>Open Source Git Clients</h4>
		<ul>
			<li><a href="http://git-scm.com">Git</a> - the official, command-line Git</li>
			<li><a href="http://tortoisegit.googlecode.com">TortoiseGit</a> - Windows file explorer integration (requires official, command-line Git)</li>
			<li><a href="http://eclipse.org/egit">Eclipse/EGit</a> - Git for the Eclipse IDE (based on JGit, like Gitblit)</li>
			<li><a href="https://code.google.com/p/gitextensions/">Git Extensions</a> - C# frontend for Git that features Windows Explorer and Visual Studio integration</li>
			<li><a href="http://rowanj.github.io/gitx/">GitX-dev</a> - a Mac OS X Git client</li>			
		</ul>
		<p></p>
		<h4>Commercial/Closed-Source Git Clients</h4>
		<ul>
			<li><a href="http://www.syntevo.com/smartgithg">SmartGit/Hg</a> - A Java Git and Mercurial client for Windows, Mac, and Linux</li>
			<li><a href="http://www.sourcetreeapp.com/">SourceTree</a> - A free Git and Mercurial client for Windows & Mac</li>
			<li><a href="http://www.git-tower.com/">Tower</a> - a Mac OS X Git client</li>
		</ul>
</div>
</wicket:extend>	
</body>
</html>