forked from amio/git-cheatsheet-chs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (66 loc) · 2.93 KB
/
index.html
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
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Git Cheatsheet 中文版</title>
<meta name="description" content="Interactive Git Cheatsheet, categorizing commands based on what they affect.">
<link rel="stylesheet" href="styles/1200.css" type="text/css"/>
<link rel="stylesheet" href="fonts/Impact-Label-fontfacekit/stylesheet.css" type="text/css"/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js'></script>
<script src='scripts/csster.js'></script>
<script src='scripts/styles.js'></script>
<script src='scripts/commands.js'></script>
<script src='scripts/base.js'></script>
<script src='scripts/git-cheatsheet.js' type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4646421-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class="">
<div id="hd" class="container_16">
<h1 class="grid_8 alpha" data-docs="按执行效果归类的 Git 常用命令参考。">Git Cheatsheet Chs</h1>
<div class="grid_8 omega">
<h2 data-docs="another visualization from Andrew Peterson, NDP Software."><a href="http://ndpsoftware.com">an interaction
from NDP Software</a></h2>
<h6>(c) Andrew Peterson 2009-2012 All Rights Reserved.</h6>
<h3><a href="https://github.com/amio/git-cheatsheet-chs/">Fork me on Github</a> / <a href="http://www.ndpsoftware.com/git-cheatsheet.html">Git Cheatsheet (Original)</a></h3>
</div>
</div>
<div class="clear"></div>
<div id="diagram" class="container_16">
<div id="stash" class="loc grid_2 alpha"
data-docs='当你切换手头工作时,可以把未完成的修改暂存在这里'><label>stash</label></div>
<div id="workspace" class="loc grid_4"
data-docs='本地文件'><label>工作目录</label></div>
<div id="index" class="loc grid_3"
data-docs="index 又叫 staging area,存放着工作目录的快照,此快照中的内容将会在 commit 时提交至版本库。">
<label>index</label>
</div>
<div id="local_repo" class="loc grid_4"
data-docs="常见的分支有:master、dev (用于本地开发)、feature_x、bugfix_y"
><label>本地版本库</label>
</div>
<div id="remote_repo" class="loc grid_3 omega"
data-docs="默认为 'origin'。常见的分支有:master、shared_feature_x、release_y"
><label>服务器</label>
</div>
<div id="commands">
</div>
<div id="info">
<div class="screen"></div>
<div class="cmd"> </div>
<div class="doc"> </div>
</div>
</div>
</body>
</html>