From cbf72e3bfd1f62b35cc2db623be531f7f9c9275c Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Tue, 13 Nov 2007 09:58:26 -0800 Subject: updated the TODO file with the stuff I'm working on next --- doc/created.rid | 2 +- doc/files/README.html | 26 +++++++++++++++++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/created.rid b/doc/created.rid index f9d24d4..c9a65f9 100644 --- a/doc/created.rid +++ b/doc/created.rid @@ -1 +1 @@ -Tue Nov 13 07:35:28 PST 2007 +Tue Nov 13 08:54:42 PST 2007 diff --git a/doc/files/README.html b/doc/files/README.html index 0832d66..69d8471 100644 --- a/doc/files/README.html +++ b/doc/files/README.html @@ -56,7 +56,7 @@ Last Update: - Tue Nov 13 06:53:10 PST 2007 + Tue Nov 13 08:54:36 PST 2007 @@ -117,17 +117,33 @@ also get total statistics from the Git::Diff object directly.

-Git::Status +Git::Status - returns from a +@git.status command. It is an Enumerable that returns Git:Status::StatusFile objects for each +object in git, which includes files in the working directory, in the index +and in the repository. Similar to running ‘git status’ on the +command line to determine untracked and changed files.

-Git::Branches +Git::Branches - Enumerable +object that holds Git::Branch +objects. You can call .local or .remote on it to filter to just your local +or remote branches.

-Git::Remote +Git::Remote - A reference to a +remote repository that is tracked by this repository.

-Git::Log +Git::Log - An Enumerable object that +references all the Git::Object::Commit objects +that encompass your log query, which can be constructed through methods on +the Git::Log object, like:

+
+ @git.log(20).object("HEAD^").since("2 weeks ago").between('v2.6', 'v2.7').each { |commit| [block] }
+

Examples

Here are a bunch of examples of how to use the Ruby/