forked from ndp/git-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit-cheatsheet.html
66 lines (61 loc) · 2.67 KB
/
git-cheatsheet.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
<!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="git-cheatsheet/1200.css" type="text/css"/>
<link rel="stylesheet" href="git-cheatsheet/fonts/Impact-Label-fontfacekit/stylesheet.css" type="text/css"/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js' type='text/javascript'></script>
<script src='git-cheatsheet/csster.js'></script>
<script src='git-cheatsheet/styles.js'></script>
<script src='git-cheatsheet/git-cheatsheet.js' type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1458227-1']);
_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="Categorize Git's commands based on what they affect.">Git Cheatsheet</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-2011 All Rights Reserved.</h6>
</div>
</div>
<div class="clear"></div>
<div id="diagram" class="container_16">
<div id="stash" class="loc grid_2 alpha"><label>stash</label></div>
<div id="workspace" class="loc grid_4"><label>workspace</label></div>
<div id="index" class="loc grid_3"
data-docs='The "index"-- or "staging area"-- holds a snapshot of the content of the working tree, and it is this snapshot that is taken as the contents of the next commit.'>
<label>index</label>
</div>
<div id="local_repo" class="loc grid_4"
data-docs="Typical branches: master, dev (for local development), feature_x, bugfix_y"
><label>local repository</label>
</div>
<div id="remote_repo" class="loc grid_3 omega"
data-docs="Default is 'origin'. Typical branches here: master, shared_feature_x, release_y"
><label>upstream repository</label>
</div>
<div id="commands">
</div>
<div class="clear"></div>
<div id="info">
<div class="grid_4 alpha cmd"> </div>
<div class="grid_12 omega doc"> </div>
</div>
</div>
</body>
</html>