Skip to content

Commit

Permalink
consolidated the scripting into one chapter, merged advanced merging …
Browse files Browse the repository at this point in the history
…into one chapter
  • Loading branch information
schacon committed Sep 4, 2008
1 parent 33449ca commit 640afaf
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 21 deletions.
6 changes: 4 additions & 2 deletions script/html.rb
Expand Up @@ -5,6 +5,8 @@
require 'rdiscount'
require "uv"

MIN_SIZE = 1200

def do_replacements(html, type = :html)

# highlight code
Expand Down Expand Up @@ -129,7 +131,7 @@ def do_replacements(html, type = :html)
toc.table do
section_array.each do |chapter_title, chapter_file, chsize|
toc.tr { toc.td {
(chsize > 800) ? extra = 'done' : extra = 'todo'
(chsize > MIN_SIZE) ? extra = 'done' : extra = 'todo'
toc.a(:href => chapter_file, :class => "chapter-link #{extra}") << chapter_title
}}
end
Expand All @@ -142,7 +144,7 @@ def do_replacements(html, type = :html)
toc.table do
section_array.each do |chapter_title, chapter_file, chsize|
toc.tr { toc.td {
(chsize > 300) ? extra = 'done' : extra = 'todo'
(chsize > MIN_SIZE) ? extra = 'done' : extra = 'todo'
toc.a(:href => chapter_file, :class => "chapter-link #{extra}") << chapter_title
}}
end
Expand Down
6 changes: 6 additions & 0 deletions text/25_Changing_Your_History/0_Changing_History.markdown
@@ -0,0 +1,6 @@
## Modifying your History ##

Interactive rebasing is a good way to modify individual commits.

linkgit:git-filter-branch[1] is a good way to edit commits en masse.

5 changes: 0 additions & 5 deletions text/25_Filter_Branch/0_Git_Filter_Branch.markdown

This file was deleted.

@@ -1,7 +1,6 @@
## Advanced Merging ##
### Multiway Merge ###


### Multiway Merge ###

You can merge several heads at one time by simply listing them on the same
linkgit:git-merge[1] command. For instance,
Expand Down
1 change: 0 additions & 1 deletion text/37_Capistrano_and_Git/0_ Capistrano_and_Git.markdown

This file was deleted.

7 changes: 7 additions & 0 deletions text/37_Deploying_with_Git/0_ Capistrano_and_Git.markdown
@@ -0,0 +1,7 @@
## Deploying with Git ##

### Capistrano and Git ###

[GitHub Guide on Deploying with Cap](http://github.com/guides/deploying-with-capistrano)

[Git and Capistrano Screencast](http://www.vimeo.com/369095)
11 changes: 11 additions & 0 deletions text/39_SCM_Migration/0_Scm_Migration.markdown
Expand Up @@ -24,4 +24,15 @@ Python script that will import a Perforce repository for you.
$ ~/git.git/contrib/fast-import/git-p4 clone //depot/project/main@all myproject


### Importing Others ###

These are other SCMs that listed high on the Git Survey, should find import
docs for them. !!TODO!!

* CVS
* Mercurial (hg)

* Bazaar-NG
* Darcs
* ClearCase

@@ -1,5 +1,26 @@
## Graphical Git ##

gitgui
Git has a couple of fairly popular Graphial User Interfaces that can
read and/or maniplulate Git repositories.

### Bundled GUIs ###

Git comes with two major GUI programs written in Tcl/Tk. Gitk is a
repository browser and commit history visualization tool.

[gitk](http://www.kernel.org/pub/software/scm/git/docs/gitk.html)

linkgit:git-gui[1] is a tool that helps you visualize the index operations,
like add, remove and commit. It won't do everything you can do on the
command line, but for many of the basic operations, it's pretty good.

[git gui](http://www.kernel.org/pub/software/scm/git/docs/git-gui.html)

gitk
### Third Party Projects ###

For Mac users, there is
[GitNub](http://github.com/Caged/gitnub/wikis)

For Linux or other Qt users, there is
[QGit](http://digilander.libero.it/mcostalba/)

3 changes: 0 additions & 3 deletions text/44_Ruby_and_Git_grit/0_ Ruby_and_Git_grit.markdown

This file was deleted.

23 changes: 23 additions & 0 deletions text/44_Scripting_and_Git/0_ Ruby_and_Git_grit.markdown
@@ -0,0 +1,23 @@
## Scripting and Git ##


### Ruby and Git ###

grit

jgit + jruby


### PHP and Git ###



### Python and Git ###

pygit


### Perl and Git ###

perlgit

3 changes: 0 additions & 3 deletions text/45_Perl_and_Git_perlgit/0_ Perl_and_Git_perlgit.markdown

This file was deleted.

3 changes: 0 additions & 3 deletions text/46_Python_and_Git_pygit/0_ Python_and_Git_pygit.markdown

This file was deleted.

0 comments on commit 640afaf

Please sign in to comment.