File tree 8 files changed +446
-0
lines changed
8 files changed +446
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+
4
+ < html >
5
+ < head >
6
+ < meta http-equiv ="Content-type " content ="text/html; charset=utf-8 ">
7
+ < title > Git Ref - {{ page.title }}</ title >
8
+ < link rel ="stylesheet " href ="/stylesheets/master.css " type ="text/css " media ="screen " charset ="utf-8 "/>
9
+ < script src ="/javascripts/jquery.js " type ="text/javascript " charset ="utf-8 "> </ script >
10
+ </ head >
11
+ < body >
12
+ < div id ='wrapper '>
13
+ < div id ='header '>
14
+ < h1 > Git Reference</ h1 >
15
+ </ div >
16
+ < div id ='menu '>
17
+ < ul >
18
+ < li > < a href ='/ '> Home</ a > </ li >
19
+ < li > < a href ='/book '> Book</ a > </ li >
20
+ < li > < a href ='/blog.html '> Blog</ a > </ li >
21
+ < li > < a href ='/about.html '> About</ a > </ li >
22
+ < li > < a href ='/support.html '> Support Us</ a > </ li >
23
+ < li > < a href ='http://github.com/progit ' target ='_blank ' rel ='me '> GitHub</ a > </ li >
24
+ < li > < a href ='http://twitter.com/progitbook ' target ='_blank ' rel ='me '> Twitter</ a > </ li >
25
+ </ ul >
26
+ </ div >
27
+ < div id ='content '>
28
+ {{ content }}
29
+ < div class ='clearfix '> </ div >
30
+ </ div >
31
+ </ div >
32
+ < div id ='footer '>
33
+ </ div >
34
+ </ body >
35
+ </ html >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: master
3
+ ---
4
+ < div class ='post '>
5
+ < span class ='date '> {{page.date | date_to_string}}</ span >
6
+ < h1 >
7
+ < a href ='http://feeds.feedburner.com/ProGitBook ' class ='float-right '> < img src ='/images/subscribe.png ' alt ='Subscribe '/> </ a >
8
+ < a href ='{{page.url}} '> {{page.title}}</ a >
9
+ </ h1 >
10
+ < small > by Scott Chacon</ small >
11
+ < div class ='body '>
12
+ {{ content }}
13
+ </ div >
14
+ </ div >
15
+
16
+ < div class ="book-ad ">
17
+ < a href ="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339 "> < img border ="0 " height ="55 " src ="http://ecx.images-amazon.com/images/I/5133mQJaUgL._SL500_AA300_.jpg "> </ a >
18
+ < img src ="http://www.assoc-amazon.com/e/ir?t=prgi-20&l=as2&o=1&a=1430218339 " width ="1 " height ="1 " border ="0 " alt ="" style ="border:none !important; margin:0px !important; " />
19
+ < a href ="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339 "> Support this site by buying a copy of the book</ a >
20
+ </ div >
21
+
22
+ < div class ="related ">
23
+ < h3 > Related Posts</ h3 >
24
+ < table class ="post-list ">
25
+ {% for post in site.related_posts limit:3 %}
26
+ < tr >
27
+ < th > < a href ='{{ post.url }} '> {{ post.title }}</ a > </ th >
28
+ < td > {{ post.date | date_to_string }}</ td >
29
+ < td > < a href ='{{post.url}}#disqus_thread '> Comments</ a > </ td >
30
+ </ tr >
31
+ {% endfor %}
32
+ </ table >
33
+ </ div >
34
+
35
+ < script type ="text/javascript " charset ="utf-8 ">
36
+ var disqus_url = "http://progit.org/{{page.url}}" ;
37
+ </ script >
38
+ < div id ="disqus_thread "> </ div > < script type ="text/javascript " src ="http://disqus.com/forums/scottchacon/embed.js "> </ script > < noscript > < a href ="http://scottchacon.disqus.com/?url=ref "> View the discussion thread.</ a > </ noscript > < a href ="http://disqus.com " class ="dsq-brlink "> blog comments powered by < span class ="logo-disqus "> Disqus</ span > </ a >
Original file line number Diff line number Diff line change
1
+ Introduction
2
+ (how git is different)
3
+
4
+ Getting and Creating Projects
5
+ * init
6
+ * clone
7
+
8
+ Basic Snapshotting
9
+ * add
10
+ * status
11
+ * diff
12
+ * commit
13
+ * rm, mv
14
+ * reset
15
+
16
+ Branching and Merging Contexts
17
+ * branch
18
+ * merge
19
+ * cherry-pick
20
+ * log
21
+
22
+ Sharing and Updating Projects
23
+ * fetch, pull
24
+ * push
25
+
26
+ Inspection, Comparison and History
27
+ * log
28
+ * diff
29
+
30
+ Fixing History
31
+ * rebase
32
+ * revert
33
+
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+
4
+ < html >
5
+ < head >
6
+ < meta http-equiv ="Content-type " content ="text/html; charset=utf-8 ">
7
+ < title > Pro Git - Git Reference</ title >
8
+ < link rel ="stylesheet " href ="/stylesheets/master.css " type ="text/css " media ="screen " charset ="utf-8 "/>
9
+ < script src ="/javascripts/jquery.js " type ="text/javascript " charset ="utf-8 "> </ script >
10
+ </ head >
11
+ < body >
12
+ < div id ='wrapper '>
13
+ < div id ='header '>
14
+ < h1 > Git Reference</ h1 >
15
+ </ div >
16
+ < div id ='menu '>
17
+ < ul >
18
+ < li > < a href ='/ '> Home</ a > </ li >
19
+ < li > < a href ='/book '> Book</ a > </ li >
20
+ < li > < a href ='/blog.html '> Blog</ a > </ li >
21
+ < li > < a href ='/about.html '> About</ a > </ li >
22
+ < li > < a href ='/support.html '> Support Us</ a > </ li >
23
+ < li > < a href ='http://github.com/progit ' target ='_blank ' rel ='me '> GitHub</ a > </ li >
24
+ < li > < a href ='http://twitter.com/progitbook ' target ='_blank ' rel ='me '> Twitter</ a > </ li >
25
+ </ ul >
26
+ </ div >
27
+ < div id ='content '>
28
+ < p >
29
+ Some content.
30
+ </ p >
31
+
32
+
33
+ < div class ='clearfix '> </ div >
34
+ </ div >
35
+ </ div >
36
+ < div id ='footer '>
37
+ </ div >
38
+ </ body >
39
+ </ html >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: master
3
+ title: Git Reference
4
+ ---
5
+ < p >
6
+ Some content.
7
+ </ p >
8
+
Original file line number Diff line number Diff line change
1
+ jQuery . githubUser = function ( username , callback ) {
2
+ jQuery . getJSON ( "http://github.com/api/v1/json/" + username + "?callback=?" , callback ) ;
3
+ }
You can’t perform that action at this time.
0 commit comments