summaryrefslogtreecommitdiffstats
path: root/doc/classes/Git/Base.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Git/Base.html')
-rw-r--r--doc/classes/Git/Base.html672
1 files changed, 336 insertions, 336 deletions
diff --git a/doc/classes/Git/Base.html b/doc/classes/Git/Base.html
index d3dec3d..b643503 100644
--- a/doc/classes/Git/Base.html
+++ b/doc/classes/Git/Base.html
@@ -88,62 +88,62 @@
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000114">add</a>&nbsp;&nbsp;
- <a href="#M000126">add_remote</a>&nbsp;&nbsp;
- <a href="#M000129">add_tag</a>&nbsp;&nbsp;
- <a href="#M000130">archive</a>&nbsp;&nbsp;
- <a href="#M000089">bare</a>&nbsp;&nbsp;
- <a href="#M000109">branch</a>&nbsp;&nbsp;
- <a href="#M000108">branches</a>&nbsp;&nbsp;
- <a href="#M000099">chdir</a>&nbsp;&nbsp;
- <a href="#M000120">checkout</a>&nbsp;&nbsp;
- <a href="#M000134">checkout_index</a>&nbsp;&nbsp;
- <a href="#M000092">clone</a>&nbsp;&nbsp;
- <a href="#M000118">commit</a>&nbsp;&nbsp;
- <a href="#M000119">commit_all</a>&nbsp;&nbsp;
- <a href="#M000137">commit_tree</a>&nbsp;&nbsp;
- <a href="#M000101">config</a>&nbsp;&nbsp;
- <a href="#M000144">current_branch</a>&nbsp;&nbsp;
- <a href="#M000113">diff</a>&nbsp;&nbsp;
- <a href="#M000094">dir</a>&nbsp;&nbsp;
- <a href="#M000121">fetch</a>&nbsp;&nbsp;
- <a href="#M000105">gblob</a>&nbsp;&nbsp;
- <a href="#M000104">gcommit</a>&nbsp;&nbsp;
- <a href="#M000112">grep</a>&nbsp;&nbsp;
- <a href="#M000103">gtree</a>&nbsp;&nbsp;
- <a href="#M000096">index</a>&nbsp;&nbsp;
- <a href="#M000091">init</a>&nbsp;&nbsp;
- <a href="#M000111">lib</a>&nbsp;&nbsp;
- <a href="#M000106">log</a>&nbsp;&nbsp;
- <a href="#M000140">ls_files</a>&nbsp;&nbsp;
- <a href="#M000123">merge</a>&nbsp;&nbsp;
- <a href="#M000093">new</a>&nbsp;&nbsp;
- <a href="#M000102">object</a>&nbsp;&nbsp;
- <a href="#M000090">open</a>&nbsp;&nbsp;
- <a href="#M000124">pull</a>&nbsp;&nbsp;
- <a href="#M000122">push</a>&nbsp;&nbsp;
- <a href="#M000135">read_tree</a>&nbsp;&nbsp;
- <a href="#M000110">remote</a>&nbsp;&nbsp;
- <a href="#M000125">remotes</a>&nbsp;&nbsp;
- <a href="#M000115">remove</a>&nbsp;&nbsp;
- <a href="#M000131">repack</a>&nbsp;&nbsp;
- <a href="#M000095">repo</a>&nbsp;&nbsp;
- <a href="#M000100">repo_size</a>&nbsp;&nbsp;
- <a href="#M000116">reset</a>&nbsp;&nbsp;
- <a href="#M000117">reset_hard</a>&nbsp;&nbsp;
- <a href="#M000143">revparse</a>&nbsp;&nbsp;
- <a href="#M000098">set_index</a>&nbsp;&nbsp;
- <a href="#M000097">set_working</a>&nbsp;&nbsp;
- <a href="#M000107">status</a>&nbsp;&nbsp;
- <a href="#M000128">tag</a>&nbsp;&nbsp;
- <a href="#M000127">tags</a>&nbsp;&nbsp;
- <a href="#M000139">update_ref</a>&nbsp;&nbsp;
- <a href="#M000132">with_index</a>&nbsp;&nbsp;
- <a href="#M000133">with_temp_index</a>&nbsp;&nbsp;
- <a href="#M000142">with_temp_working</a>&nbsp;&nbsp;
- <a href="#M000141">with_working</a>&nbsp;&nbsp;
- <a href="#M000138">write_and_commit_tree</a>&nbsp;&nbsp;
- <a href="#M000136">write_tree</a>&nbsp;&nbsp;
+ <a href="#M000116">add</a>&nbsp;&nbsp;
+ <a href="#M000128">add_remote</a>&nbsp;&nbsp;
+ <a href="#M000131">add_tag</a>&nbsp;&nbsp;
+ <a href="#M000132">archive</a>&nbsp;&nbsp;
+ <a href="#M000091">bare</a>&nbsp;&nbsp;
+ <a href="#M000111">branch</a>&nbsp;&nbsp;
+ <a href="#M000110">branches</a>&nbsp;&nbsp;
+ <a href="#M000101">chdir</a>&nbsp;&nbsp;
+ <a href="#M000122">checkout</a>&nbsp;&nbsp;
+ <a href="#M000136">checkout_index</a>&nbsp;&nbsp;
+ <a href="#M000094">clone</a>&nbsp;&nbsp;
+ <a href="#M000120">commit</a>&nbsp;&nbsp;
+ <a href="#M000121">commit_all</a>&nbsp;&nbsp;
+ <a href="#M000139">commit_tree</a>&nbsp;&nbsp;
+ <a href="#M000103">config</a>&nbsp;&nbsp;
+ <a href="#M000146">current_branch</a>&nbsp;&nbsp;
+ <a href="#M000115">diff</a>&nbsp;&nbsp;
+ <a href="#M000096">dir</a>&nbsp;&nbsp;
+ <a href="#M000123">fetch</a>&nbsp;&nbsp;
+ <a href="#M000107">gblob</a>&nbsp;&nbsp;
+ <a href="#M000106">gcommit</a>&nbsp;&nbsp;
+ <a href="#M000114">grep</a>&nbsp;&nbsp;
+ <a href="#M000105">gtree</a>&nbsp;&nbsp;
+ <a href="#M000098">index</a>&nbsp;&nbsp;
+ <a href="#M000093">init</a>&nbsp;&nbsp;
+ <a href="#M000113">lib</a>&nbsp;&nbsp;
+ <a href="#M000108">log</a>&nbsp;&nbsp;
+ <a href="#M000142">ls_files</a>&nbsp;&nbsp;
+ <a href="#M000125">merge</a>&nbsp;&nbsp;
+ <a href="#M000095">new</a>&nbsp;&nbsp;
+ <a href="#M000104">object</a>&nbsp;&nbsp;
+ <a href="#M000092">open</a>&nbsp;&nbsp;
+ <a href="#M000126">pull</a>&nbsp;&nbsp;
+ <a href="#M000124">push</a>&nbsp;&nbsp;
+ <a href="#M000137">read_tree</a>&nbsp;&nbsp;
+ <a href="#M000112">remote</a>&nbsp;&nbsp;
+ <a href="#M000127">remotes</a>&nbsp;&nbsp;
+ <a href="#M000117">remove</a>&nbsp;&nbsp;
+ <a href="#M000133">repack</a>&nbsp;&nbsp;
+ <a href="#M000097">repo</a>&nbsp;&nbsp;
+ <a href="#M000102">repo_size</a>&nbsp;&nbsp;
+ <a href="#M000118">reset</a>&nbsp;&nbsp;
+ <a href="#M000119">reset_hard</a>&nbsp;&nbsp;
+ <a href="#M000145">revparse</a>&nbsp;&nbsp;
+ <a href="#M000100">set_index</a>&nbsp;&nbsp;
+ <a href="#M000099">set_working</a>&nbsp;&nbsp;
+ <a href="#M000109">status</a>&nbsp;&nbsp;
+ <a href="#M000130">tag</a>&nbsp;&nbsp;
+ <a href="#M000129">tags</a>&nbsp;&nbsp;
+ <a href="#M000141">update_ref</a>&nbsp;&nbsp;
+ <a href="#M000134">with_index</a>&nbsp;&nbsp;
+ <a href="#M000135">with_temp_index</a>&nbsp;&nbsp;
+ <a href="#M000144">with_temp_working</a>&nbsp;&nbsp;
+ <a href="#M000143">with_working</a>&nbsp;&nbsp;
+ <a href="#M000140">write_and_commit_tree</a>&nbsp;&nbsp;
+ <a href="#M000138">write_tree</a>&nbsp;&nbsp;
</div>
</div>
@@ -165,11 +165,11 @@
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000089" class="method-detail">
- <a name="M000089"></a>
+ <div id="method-M000091" class="method-detail">
+ <a name="M000091"></a>
<div class="method-heading">
- <a href="#M000089" class="method-signature">
+ <a href="#M000091" class="method-signature">
<span class="method-name">bare</span><span class="method-args">(git_dir)</span>
</a>
</div>
@@ -180,8 +180,8 @@ opens a bare <a href="../Git.html">Git</a> <a
href="Repository.html">Repository</a> - no working directory options
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000089-source">
+ onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000091-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 12</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">bare</span>(<span class="ruby-identifier">git_dir</span>)
@@ -192,11 +192,11 @@ href="Repository.html">Repository</a> - no working directory options
</div>
</div>
- <div id="method-M000092" class="method-detail">
- <a name="M000092"></a>
+ <div id="method-M000094" class="method-detail">
+ <a name="M000094"></a>
<div class="method-heading">
- <a href="#M000092" class="method-signature">
+ <a href="#M000094" class="method-signature">
<span class="method-name">clone</span><span class="method-args">(repository, name, opts = {})</span>
</a>
</div>
@@ -221,8 +221,8 @@ options:
:index_file
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000092-source">
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000094-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 60</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">opts</span> = {})
@@ -234,11 +234,11 @@ options:
</div>
</div>
- <div id="method-M000091" class="method-detail">
- <a name="M000091"></a>
+ <div id="method-M000093" class="method-detail">
+ <a name="M000093"></a>
<div class="method-heading">
- <a href="#M000091" class="method-signature">
+ <a href="#M000093" class="method-signature">
<span class="method-name">init</span><span class="method-args">(working_dir, opts = {})</span>
</a>
</div>
@@ -255,8 +255,8 @@ options:
:index_file
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000091-source">
+ onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000093-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 31</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">opts</span> = {})
@@ -279,19 +279,19 @@ options:
</div>
</div>
- <div id="method-M000093" class="method-detail">
- <a name="M000093"></a>
+ <div id="method-M000095" class="method-detail">
+ <a name="M000095"></a>
<div class="method-heading">
- <a href="#M000093" class="method-signature">
+ <a href="#M000095" class="method-signature">
<span class="method-name">new</span><span class="method-args">(options = {})</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000093-source">
+ onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000095-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 65</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span> = {})
@@ -309,11 +309,11 @@ options:
</div>
</div>
- <div id="method-M000090" class="method-detail">
- <a name="M000090"></a>
+ <div id="method-M000092" class="method-detail">
+ <a name="M000092"></a>
<div class="method-heading">
- <a href="#M000090" class="method-signature">
+ <a href="#M000092" class="method-signature">
<span class="method-name">open</span><span class="method-args">(working_dir, opts={})</span>
</a>
</div>
@@ -324,8 +324,8 @@ opens a new <a href="../Git.html">Git</a> Project from a working directory
you can specify non-standard git_dir and index file in the options
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000090-source">
+ onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000092-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 18</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">opts</span>={})
@@ -341,11 +341,11 @@ you can specify non-standard git_dir and index file in the options
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000114" class="method-detail">
- <a name="M000114"></a>
+ <div id="method-M000116" class="method-detail">
+ <a name="M000116"></a>
<div class="method-heading">
- <a href="#M000114" class="method-signature">
+ <a href="#M000116" class="method-signature">
<span class="method-name">add</span><span class="method-args">(path = '.')</span>
</a>
</div>
@@ -355,8 +355,8 @@ you can specify non-standard git_dir and index file in the options
adds files from the working directory to the git repository
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000114-source">
+ onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000116-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 234</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">path</span> = <span class="ruby-value str">'.'</span>)
@@ -367,11 +367,11 @@ adds files from the working directory to the git repository
</div>
</div>
- <div id="method-M000126" class="method-detail">
- <a name="M000126"></a>
+ <div id="method-M000128" class="method-detail">
+ <a name="M000128"></a>
<div class="method-heading">
- <a href="#M000126" class="method-signature">
+ <a href="#M000128" class="method-signature">
<span class="method-name">add_remote</span><span class="method-args">(name, url, opts = {})</span>
</a>
</div>
@@ -387,8 +387,8 @@ href="Base.html">Git::Base</a> object if it&#8217;s a local reference
@git.merge('scotts_git/master')
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000126-source">
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000128-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 312</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_remote</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">opts</span> = {})
@@ -403,11 +403,11 @@ href="Base.html">Git::Base</a> object if it&#8217;s a local reference
</div>
</div>
- <div id="method-M000129" class="method-detail">
- <a name="M000129"></a>
+ <div id="method-M000131" class="method-detail">
+ <a name="M000131"></a>
<div class="method-heading">
- <a href="#M000129" class="method-signature">
+ <a href="#M000131" class="method-signature">
<span class="method-name">add_tag</span><span class="method-args">(tag_name)</span>
</a>
</div>
@@ -417,8 +417,8 @@ href="Base.html">Git::Base</a> object if it&#8217;s a local reference
creates a new git tag (Git::Tag)
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000129-source">
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000131-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 331</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_tag</span>(<span class="ruby-identifier">tag_name</span>)
@@ -430,11 +430,11 @@ creates a new git tag (Git::Tag)
</div>
</div>
- <div id="method-M000130" class="method-detail">
- <a name="M000130"></a>
+ <div id="method-M000132" class="method-detail">
+ <a name="M000132"></a>
<div class="method-heading">
- <a href="#M000130" class="method-signature">
+ <a href="#M000132" class="method-signature">
<span class="method-name">archive</span><span class="method-args">(treeish, file = nil, opts = {})</span>
</a>
</div>
@@ -444,8 +444,8 @@ creates a new git tag (Git::Tag)
creates an archive file of the given tree-ish
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000130-source">
+ onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000132-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 337</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">archive</span>(<span class="ruby-identifier">treeish</span>, <span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
@@ -456,11 +456,11 @@ creates an archive file of the given tree-ish
</div>
</div>
- <div id="method-M000109" class="method-detail">
- <a name="M000109"></a>
+ <div id="method-M000111" class="method-detail">
+ <a name="M000111"></a>
<div class="method-heading">
- <a href="#M000109" class="method-signature">
+ <a href="#M000111" class="method-signature">
<span class="method-name">branch</span><span class="method-args">(branch_name = 'master')</span>
</a>
</div>
@@ -470,8 +470,8 @@ creates an archive file of the given tree-ish
returns a <a href="Branch.html">Git::Branch</a> object for branch_name
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000109-source">
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000111-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 189</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branch</span>(<span class="ruby-identifier">branch_name</span> = <span class="ruby-value str">'master'</span>)
@@ -482,11 +482,11 @@ returns a <a href="Branch.html">Git::Branch</a> object for branch_name
</div>
</div>
- <div id="method-M000108" class="method-detail">
- <a name="M000108"></a>
+ <div id="method-M000110" class="method-detail">
+ <a name="M000110"></a>
<div class="method-heading">
- <a href="#M000108" class="method-signature">
+ <a href="#M000110" class="method-signature">
<span class="method-name">branches</span><span class="method-args">()</span>
</a>
</div>
@@ -497,8 +497,8 @@ returns a <a href="Branches.html">Git::Branches</a> object of all the <a
href="Branch.html">Git::Branch</a> objects for this repo
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000108-source">
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000110-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 184</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branches</span>
@@ -509,11 +509,11 @@ href="Branch.html">Git::Branch</a> objects for this repo
</div>
</div>
- <div id="method-M000099" class="method-detail">
- <a name="M000099"></a>
+ <div id="method-M000101" class="method-detail">
+ <a name="M000101"></a>
<div class="method-heading">
- <a href="#M000099" class="method-signature">
+ <a href="#M000101" class="method-signature">
<span class="method-name">chdir</span><span class="method-args">() {|dir.path| ...}</span>
</a>
</div>
@@ -533,8 +533,8 @@ example
end
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000099-source">
+ onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000101-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 115</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chdir</span>
@@ -547,11 +547,11 @@ example
</div>
</div>
- <div id="method-M000120" class="method-detail">
- <a name="M000120"></a>
+ <div id="method-M000122" class="method-detail">
+ <a name="M000122"></a>
<div class="method-heading">
- <a href="#M000120" class="method-signature">
+ <a href="#M000122" class="method-signature">
<span class="method-name">checkout</span><span class="method-args">(branch = 'master', opts = {})</span>
</a>
</div>
@@ -561,8 +561,8 @@ example
checks out a branch as the new git working directory
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000120-source">
+ onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000122-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 268</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>, <span class="ruby-identifier">opts</span> = {})
@@ -573,19 +573,19 @@ checks out a branch as the new git working directory
</div>
</div>
- <div id="method-M000134" class="method-detail">
- <a name="M000134"></a>
+ <div id="method-M000136" class="method-detail">
+ <a name="M000136"></a>
<div class="method-heading">
- <a href="#M000134" class="method-signature">
+ <a href="#M000136" class="method-signature">
<span class="method-name">checkout_index</span><span class="method-args">(opts = {})</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000134-source">
+ onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000136-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 364</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout_index</span>(<span class="ruby-identifier">opts</span> = {})
@@ -596,11 +596,11 @@ checks out a branch as the new git working directory
</div>
</div>
- <div id="method-M000118" class="method-detail">
- <a name="M000118"></a>
+ <div id="method-M000120" class="method-detail">
+ <a name="M000120"></a>
<div class="method-heading">
- <a href="#M000118" class="method-signature">
+ <a href="#M000120" class="method-signature">
<span class="method-name">commit</span><span class="method-args">(message, opts = {})</span>
</a>
</div>
@@ -610,8 +610,8 @@ checks out a branch as the new git working directory
commits all pending changes in the index file to the git repository
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000118-source">
+ onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000120-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 255</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span> = {})
@@ -622,11 +622,11 @@ commits all pending changes in the index file to the git repository
</div>
</div>
- <div id="method-M000119" class="method-detail">
- <a name="M000119"></a>
+ <div id="method-M000121" class="method-detail">
+ <a name="M000121"></a>
<div class="method-heading">
- <a href="#M000119" class="method-signature">
+ <a href="#M000121" class="method-signature">
<span class="method-name">commit_all</span><span class="method-args">(message, opts = {})</span>
</a>
</div>
@@ -638,8 +638,8 @@ automatically adds all modified files without having to explicitly calling
@git.add() on them.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000119-source">
+ onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000121-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 262</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit_all</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span> = {})
@@ -651,19 +651,19 @@ automatically adds all modified files without having to explicitly calling
</div>
</div>
- <div id="method-M000137" class="method-detail">
- <a name="M000137"></a>
+ <div id="method-M000139" class="method-detail">
+ <a name="M000139"></a>
<div class="method-heading">
- <a href="#M000137" class="method-signature">
+ <a href="#M000139" class="method-signature">
<span class="method-name">commit_tree</span><span class="method-args">(tree = nil, opts = {})</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000137-source">
+ onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000139-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 376</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit_tree</span>(<span class="ruby-identifier">tree</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
@@ -674,11 +674,11 @@ automatically adds all modified files without having to explicitly calling
</div>
</div>
- <div id="method-M000101" class="method-detail">
- <a name="M000101"></a>
+ <div id="method-M000103" class="method-detail">
+ <a name="M000103"></a>
<div class="method-heading">
- <a href="#M000101" class="method-signature">
+ <a href="#M000103" class="method-signature">
<span class="method-name">config</span><span class="method-args">(name = nil, value = nil)</span>
</a>
</div>
@@ -691,8 +691,8 @@ value g.config(&#8216;user.name&#8217;) # returns &#8216;Scott
Chacon&#8217; g.config # returns whole config hash
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000101-source">
+ onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000103-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 134</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword kw">nil</span>)
@@ -712,11 +712,11 @@ Chacon&#8217; g.config # returns whole config hash
</div>
</div>
- <div id="method-M000144" class="method-detail">
- <a name="M000144"></a>
+ <div id="method-M000146" class="method-detail">
+ <a name="M000146"></a>
<div class="method-heading">
- <a href="#M000144" class="method-signature">
+ <a href="#M000146" class="method-signature">
<span class="method-name">current_branch</span><span class="method-args">()</span>
</a>
</div>
@@ -726,8 +726,8 @@ Chacon&#8217; g.config # returns whole config hash
returns the name of the branch the working directory is currently on
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000144-source">
+ onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000146-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 425</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_branch</span>
@@ -738,11 +738,11 @@ returns the name of the branch the working directory is currently on
</div>
</div>
- <div id="method-M000113" class="method-detail">
- <a name="M000113"></a>
+ <div id="method-M000115" class="method-detail">
+ <a name="M000115"></a>
<div class="method-heading">
- <a href="#M000113" class="method-signature">
+ <a href="#M000115" class="method-signature">
<span class="method-name">diff</span><span class="method-args">(objectish = 'HEAD', obj2 = nil)</span>
</a>
</div>
@@ -752,8 +752,8 @@ returns the name of the branch the working directory is currently on
returns a <a href="Diff.html">Git::Diff</a> object
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000113-source">
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000115-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 229</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">objectish</span> = <span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">obj2</span> = <span class="ruby-keyword kw">nil</span>)
@@ -764,11 +764,11 @@ returns a <a href="Diff.html">Git::Diff</a> object
</div>
</div>
- <div id="method-M000094" class="method-detail">
- <a name="M000094"></a>
+ <div id="method-M000096" class="method-detail">
+ <a name="M000096"></a>
<div class="method-heading">
- <a href="#M000094" class="method-signature">
+ <a href="#M000096" class="method-signature">
<span class="method-name">dir</span><span class="method-args">()</span>
</a>
</div>
@@ -782,8 +782,8 @@ returns a reference to the working directory
@git.dir.writeable?
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000094-source">
+ onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000096-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 80</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dir</span>
@@ -794,11 +794,11 @@ returns a reference to the working directory
</div>
</div>
- <div id="method-M000121" class="method-detail">
- <a name="M000121"></a>
+ <div id="method-M000123" class="method-detail">
+ <a name="M000123"></a>
<div class="method-heading">
- <a href="#M000121" class="method-signature">
+ <a href="#M000123" class="method-signature">
<span class="method-name">fetch</span><span class="method-args">(remote = 'origin')</span>
</a>
</div>
@@ -809,8 +809,8 @@ fetches changes from a remote branch - this does not modify the working
directory, it just gets the changes from the remote if there are any
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000121-source">
+ onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000123-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 274</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>)
@@ -821,19 +821,19 @@ directory, it just gets the changes from the remote if there are any
</div>
</div>
- <div id="method-M000105" class="method-detail">
- <a name="M000105"></a>
+ <div id="method-M000107" class="method-detail">
+ <a name="M000107"></a>
<div class="method-heading">
- <a href="#M000105" class="method-signature">
+ <a href="#M000107" class="method-signature">
<span class="method-name">gblob</span><span class="method-args">(objectish)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000105-source">
+ onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000107-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 169</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gblob</span>(<span class="ruby-identifier">objectish</span>)
@@ -844,19 +844,19 @@ directory, it just gets the changes from the remote if there are any
</div>
</div>
- <div id="method-M000104" class="method-detail">
- <a name="M000104"></a>
+ <div id="method-M000106" class="method-detail">
+ <a name="M000106"></a>
<div class="method-heading">
- <a href="#M000104" class="method-signature">
+ <a href="#M000106" class="method-signature">
<span class="method-name">gcommit</span><span class="method-args">(objectish)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000104-source">
+ onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000106-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 165</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gcommit</span>(<span class="ruby-identifier">objectish</span>)
@@ -867,11 +867,11 @@ directory, it just gets the changes from the remote if there are any
</div>
</div>
- <div id="method-M000112" class="method-detail">
- <a name="M000112"></a>
+ <div id="method-M000114" class="method-detail">
+ <a name="M000114"></a>
<div class="method-heading">
- <a href="#M000112" class="method-signature">
+ <a href="#M000114" class="method-signature">
<span class="method-name">grep</span><span class="method-args">(string)</span>
</a>
</div>
@@ -906,8 +906,8 @@ so you might use it like this:
end
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000112-source">
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000114-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 224</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grep</span>(<span class="ruby-identifier">string</span>)
@@ -918,19 +918,19 @@ so you might use it like this:
</div>
</div>
- <div id="method-M000103" class="method-detail">
- <a name="M000103"></a>
+ <div id="method-M000105" class="method-detail">
+ <a name="M000105"></a>
<div class="method-heading">
- <a href="#M000103" class="method-signature">
+ <a href="#M000105" class="method-signature">
<span class="method-name">gtree</span><span class="method-args">(objectish)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000103-source">
+ onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000105-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 161</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gtree</span>(<span class="ruby-identifier">objectish</span>)
@@ -941,11 +941,11 @@ so you might use it like this:
</div>
</div>
- <div id="method-M000096" class="method-detail">
- <a name="M000096"></a>
+ <div id="method-M000098" class="method-detail">
+ <a name="M000098"></a>
<div class="method-heading">
- <a href="#M000096" class="method-signature">
+ <a href="#M000098" class="method-signature">
<span class="method-name">index</span><span class="method-args">()</span>
</a>
</div>
@@ -955,8 +955,8 @@ so you might use it like this:
returns reference to the git index file
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000096-source">
+ onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000098-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 91</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>
@@ -967,11 +967,11 @@ returns reference to the git index file
</div>
</div>
- <div id="method-M000111" class="method-detail">
- <a name="M000111"></a>
+ <div id="method-M000113" class="method-detail">
+ <a name="M000113"></a>
<div class="method-heading">
- <a href="#M000111" class="method-signature">
+ <a href="#M000113" class="method-signature">
<span class="method-name">lib</span><span class="method-args">()</span>
</a>
</div>
@@ -984,8 +984,8 @@ replace the <a href="Lib.html">Git::Lib</a> class with one that uses native
methods or libgit C bindings
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000111-source">
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000113-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 201</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lib</span>
@@ -996,11 +996,11 @@ methods or libgit C bindings
</div>
</div>
- <div id="method-M000106" class="method-detail">
- <a name="M000106"></a>
+ <div id="method-M000108" class="method-detail">
+ <a name="M000108"></a>
<div class="method-heading">
- <a href="#M000106" class="method-signature">
+ <a href="#M000108" class="method-signature">
<span class="method-name">log</span><span class="method-args">(count = 30)</span>
</a>
</div>
@@ -1010,8 +1010,8 @@ methods or libgit C bindings
returns a <a href="Log.html">Git::Log</a> object with count commits
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000106-source">
+ onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000108-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 174</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log</span>(<span class="ruby-identifier">count</span> = <span class="ruby-value">30</span>)
@@ -1022,19 +1022,19 @@ returns a <a href="Log.html">Git::Log</a> object with count commits
</div>
</div>
- <div id="method-M000140" class="method-detail">
- <a name="M000140"></a>
+ <div id="method-M000142" class="method-detail">
+ <a name="M000142"></a>
<div class="method-heading">
- <a href="#M000140" class="method-signature">
+ <a href="#M000142" class="method-signature">
<span class="method-name">ls_files</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000140-source">
+ onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000142-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 390</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ls_files</span>
@@ -1045,11 +1045,11 @@ returns a <a href="Log.html">Git::Log</a> object with count commits
</div>
</div>
- <div id="method-M000123" class="method-detail">
- <a name="M000123"></a>
+ <div id="method-M000125" class="method-detail">
+ <a name="M000125"></a>
<div class="method-heading">
- <a href="#M000123" class="method-signature">
+ <a href="#M000125" class="method-signature">
<span class="method-name">merge</span><span class="method-args">(branch, message = 'merge')</span>
</a>
</div>
@@ -1063,8 +1063,8 @@ you can specify more than one branch to merge by passing an array of
branches
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000123-source">
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000125-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 290</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">message</span> = <span class="ruby-value str">'merge'</span>)
@@ -1075,11 +1075,11 @@ branches
</div>
</div>
- <div id="method-M000102" class="method-detail">
- <a name="M000102"></a>
+ <div id="method-M000104" class="method-detail">
+ <a name="M000104"></a>
<div class="method-heading">
- <a href="#M000102" class="method-signature">
+ <a href="#M000104" class="method-signature">
<span class="method-name">object</span><span class="method-args">(objectish)</span>
</a>
</div>
@@ -1097,8 +1097,8 @@ objectish and determine the type of the object and return an appropriate
object for that type
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000102-source">
+ onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000104-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 157</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object</span>(<span class="ruby-identifier">objectish</span>)
@@ -1109,11 +1109,11 @@ object for that type
</div>
</div>
- <div id="method-M000124" class="method-detail">
- <a name="M000124"></a>
+ <div id="method-M000126" class="method-detail">
+ <a name="M000126"></a>
<div class="method-heading">
- <a href="#M000124" class="method-signature">
+ <a href="#M000126" class="method-signature">
<span class="method-name">pull</span><span class="method-args">(remote = 'origin', branch = 'master', message = 'origin pull')</span>
</a>
</div>
@@ -1124,8 +1124,8 @@ fetches a branch from a remote and merges it into the current working
branch
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000124-source">
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000126-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 295</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>, <span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>, <span class="ruby-identifier">message</span> = <span class="ruby-value str">'origin pull'</span>)
@@ -1137,11 +1137,11 @@ branch
</div>
</div>
- <div id="method-M000122" class="method-detail">
- <a name="M000122"></a>
+ <div id="method-M000124" class="method-detail">
+ <a name="M000124"></a>
<div class="method-heading">
- <a href="#M000122" class="method-signature">
+ <a href="#M000124" class="method-signature">
<span class="method-name">push</span><span class="method-args">(remote = 'origin', branch = 'master')</span>
</a>
</div>
@@ -1156,8 +1156,8 @@ setup the push parameters:
@git.config('remote.remote-name.push', 'refs/heads/master:refs/heads/master')
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000122-source">
+ onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000124-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 283</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>, <span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>)
@@ -1168,19 +1168,19 @@ setup the push parameters:
</div>
</div>
- <div id="method-M000135" class="method-detail">
- <a name="M000135"></a>
+ <div id="method-M000137" class="method-detail">
+ <a name="M000137"></a>
<div class="method-heading">
- <a href="#M000135" class="method-signature">
+ <a href="#M000137" class="method-signature">
<span class="method-name">read_tree</span><span class="method-args">(treeish, opts = {})</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000135-source">
+ onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000137-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 368</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_tree</span>(<span class="ruby-identifier">treeish</span>, <span class="ruby-identifier">opts</span> = {})
@@ -1191,11 +1191,11 @@ setup the push parameters:
</div>
</div>
- <div id="method-M000110" class="method-detail">
- <a name="M000110"></a>
+ <div id="method-M000112" class="method-detail">
+ <a name="M000112"></a>
<div class="method-heading">
- <a href="#M000110" class="method-signature">
+ <a href="#M000112" class="method-signature">
<span class="method-name">remote</span><span class="method-args">(remote_name = 'origin')</span>
</a>
</div>
@@ -1205,8 +1205,8 @@ setup the push parameters:
returns a <a href="Remote.html">Git::Remote</a> object
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000110-source">
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000112-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 194</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remote</span>(<span class="ruby-identifier">remote_name</span> = <span class="ruby-value str">'origin'</span>)
@@ -1217,11 +1217,11 @@ returns a <a href="Remote.html">Git::Remote</a> object
</div>
</div>
- <div id="method-M000125" class="method-detail">
- <a name="M000125"></a>
+ <div id="method-M000127" class="method-detail">
+ <a name="M000127"></a>
<div class="method-heading">
- <a href="#M000125" class="method-signature">
+ <a href="#M000127" class="method-signature">
<span class="method-name">remotes</span><span class="method-args">()</span>
</a>
</div>
@@ -1232,8 +1232,8 @@ returns an array of <a href="../Git.html">Git</a>:<a
href="Remote.html">Remote</a> objects
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000125-source">
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000127-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 301</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remotes</span>
@@ -1244,11 +1244,11 @@ href="Remote.html">Remote</a> objects
</div>
</div>
- <div id="method-M000115" class="method-detail">
- <a name="M000115"></a>
+ <div id="method-M000117" class="method-detail">
+ <a name="M000117"></a>
<div class="method-heading">
- <a href="#M000115" class="method-signature">
+ <a href="#M000117" class="method-signature">
<span class="method-name">remove</span><span class="method-args">(path = '.', opts = {})</span>
</a>
</div>
@@ -1258,8 +1258,8 @@ href="Remote.html">Remote</a> objects
removes file(s) from the git repository
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000115-source">
+ onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000117-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 239</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">path</span> = <span class="ruby-value str">'.'</span>, <span class="ruby-identifier">opts</span> = {})
@@ -1270,11 +1270,11 @@ removes file(s) from the git repository
</div>
</div>
- <div id="method-M000131" class="method-detail">
- <a name="M000131"></a>
+ <div id="method-M000133" class="method-detail">
+ <a name="M000133"></a>
<div class="method-heading">
- <a href="#M000131" class="method-signature">
+ <a href="#M000133" class="method-signature">
<span class="method-name">repack</span><span class="method-args">()</span>
</a>
</div>
@@ -1284,8 +1284,8 @@ removes file(s) from the git repository
repacks the repository
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000131-source">
+ onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000133-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 342</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repack</span>
@@ -1296,11 +1296,11 @@ repacks the repository
</div>
</div>
- <div id="method-M000095" class="method-detail">
- <a name="M000095"></a>
+ <div id="method-M000097" class="method-detail">
+ <a name="M000097"></a>
<div class="method-heading">
- <a href="#M000095" class="method-signature">
+ <a href="#M000097" class="method-signature">
<span class="method-name">repo</span><span class="method-args">()</span>
</a>
</div>
@@ -1313,8 +1313,8 @@ returns reference to the git repository directory
@git.dir.path
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000095-source">
+ onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000097-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 86</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repo</span>
@@ -1325,11 +1325,11 @@ returns reference to the git repository directory
</div>
</div>
- <div id="method-M000100" class="method-detail">
- <a name="M000100"></a>
+ <div id="method-M000102" class="method-detail">
+ <a name="M000102"></a>
<div class="method-heading">
- <a href="#M000100" class="method-signature">
+ <a href="#M000102" class="method-signature">
<span class="method-name">repo_size</span><span class="method-args">()</span>
</a>
</div>
@@ -1339,8 +1339,8 @@ returns reference to the git repository directory
returns the repository size in bytes
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000100-source">
+ onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000102-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 122</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repo_size</span>
@@ -1355,11 +1355,11 @@ returns the repository size in bytes
</div>
</div>
- <div id="method-M000116" class="method-detail">
- <a name="M000116"></a>
+ <div id="method-M000118" class="method-detail">
+ <a name="M000118"></a>
<div class="method-heading">
- <a href="#M000116" class="method-signature">
+ <a href="#M000118" class="method-signature">
<span class="method-name">reset</span><span class="method-args">(commitish = nil, opts = {})</span>
</a>
</div>
@@ -1369,8 +1369,8 @@ returns the repository size in bytes
resets the working directory to the provided commitish
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000116-source">
+ onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000118-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 244</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">commitish</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
@@ -1381,11 +1381,11 @@ resets the working directory to the provided commitish
</div>
</div>
- <div id="method-M000117" class="method-detail">
- <a name="M000117"></a>
+ <div id="method-M000119" class="method-detail">
+ <a name="M000119"></a>
<div class="method-heading">
- <a href="#M000117" class="method-signature">
+ <a href="#M000119" class="method-signature">
<span class="method-name">reset_hard</span><span class="method-args">(commitish = nil, opts = {})</span>
</a>
</div>
@@ -1396,8 +1396,8 @@ resets the working directory to the commitish with
&#8217;&#8212;hard&#8217;
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000117-source">
+ onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000119-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 249</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset_hard</span>(<span class="ruby-identifier">commitish</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
@@ -1409,11 +1409,11 @@ resets the working directory to the commitish with
</div>
</div>
- <div id="method-M000143" class="method-detail">
- <a name="M000143"></a>
+ <div id="method-M000145" class="method-detail">
+ <a name="M000145"></a>
<div class="method-heading">
- <a href="#M000143" class="method-signature">
+ <a href="#M000145" class="method-signature">
<span class="method-name">revparse</span><span class="method-args">(objectish)</span>
</a>
</div>
@@ -1428,8 +1428,8 @@ runs git rev-parse to convert the objectish to a full sha
@git.revparse('v2.4:/doc/index.html')
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000143-source">
+ onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000145-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 420</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revparse</span>(<span class="ruby-identifier">objectish</span>)
@@ -1440,19 +1440,19 @@ runs git rev-parse to convert the objectish to a full sha
</div>
</div>
- <div id="method-M000098" class="method-detail">
- <a name="M000098"></a>
+ <div id="method-M000100" class="method-detail">
+ <a name="M000100"></a>
<div class="method-heading">
- <a href="#M000098" class="method-signature">
+ <a href="#M000100" class="method-signature">
<span class="method-name">set_index</span><span class="method-args">(index_file, check = true)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000098-source">
+ onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000100-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 101</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_index</span>(<span class="ruby-identifier">index_file</span>, <span class="ruby-identifier">check</span> = <span class="ruby-keyword kw">true</span>)
@@ -1464,19 +1464,19 @@ runs git rev-parse to convert the objectish to a full sha
</div>
</div>
- <div id="method-M000097" class="method-detail">
- <a name="M000097"></a>
+ <div id="method-M000099" class="method-detail">
+ <a name="M000099"></a>
<div class="method-heading">
- <a href="#M000097" class="method-signature">
+ <a href="#M000099" class="method-signature">
<span class="method-name">set_working</span><span class="method-args">(work_dir, check = true)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000097-source">
+ onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000099-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 96</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_working</span>(<span class="ruby-identifier">work_dir</span>, <span class="ruby-identifier">check</span> = <span class="ruby-keyword kw">true</span>)
@@ -1488,11 +1488,11 @@ runs git rev-parse to convert the objectish to a full sha
</div>
</div>
- <div id="method-M000107" class="method-detail">
- <a name="M000107"></a>
+ <div id="method-M000109" class="method-detail">
+ <a name="M000109"></a>
<div class="method-heading">
- <a href="#M000107" class="method-signature">
+ <a href="#M000109" class="method-signature">
<span class="method-name">status</span><span class="method-args">()</span>
</a>
</div>
@@ -1502,8 +1502,8 @@ runs git rev-parse to convert the objectish to a full sha
returns a <a href="Status.html">Git::Status</a> object
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000107-source">
+ onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000109-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 179</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
@@ -1514,11 +1514,11 @@ returns a <a href="Status.html">Git::Status</a> object
</div>
</div>
- <div id="method-M000128" class="method-detail">
- <a name="M000128"></a>
+ <div id="method-M000130" class="method-detail">
+ <a name="M000130"></a>
<div class="method-heading">
- <a href="#M000128" class="method-signature">
+ <a href="#M000130" class="method-signature">
<span class="method-name">tag</span><span class="method-args">(tag_name)</span>
</a>
</div>
@@ -1528,8 +1528,8 @@ returns a <a href="Status.html">Git::Status</a> object
returns a Git::Tag object
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000128-source">
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000130-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 326</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span>(<span class="ruby-identifier">tag_name</span>)
@@ -1540,11 +1540,11 @@ returns a Git::Tag object
</div>
</div>
- <div id="method-M000127" class="method-detail">
- <a name="M000127"></a>
+ <div id="method-M000129" class="method-detail">
+ <a name="M000129"></a>
<div class="method-heading">
- <a href="#M000127" class="method-signature">
+ <a href="#M000129" class="method-signature">
<span class="method-name">tags</span><span class="method-args">()</span>
</a>
</div>
@@ -1554,8 +1554,8 @@ returns a Git::Tag object
returns an array of all Git::Tag objects for this repository
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000127-source">
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000129-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 321</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
@@ -1566,19 +1566,19 @@ returns an array of all Git::Tag objects for this repository
</div>
</div>
- <div id="method-M000139" class="method-detail">
- <a name="M000139"></a>
+ <div id="method-M000141" class="method-detail">
+ <a name="M000141"></a>
<div class="method-heading">
- <a href="#M000139" class="method-signature">
+ <a href="#M000141" class="method-signature">
<span class="method-name">update_ref</span><span class="method-args">(branch, commit)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000139-source">
+ onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000141-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 385</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_ref</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">commit</span>)
@@ -1589,11 +1589,11 @@ returns an array of all Git::Tag objects for this repository
</div>
</div>
- <div id="method-M000132" class="method-detail">
- <a name="M000132"></a>
+ <div id="method-M000134" class="method-detail">
+ <a name="M000134"></a>
<div class="method-heading">
- <a href="#M000132" class="method-signature">
+ <a href="#M000134" class="method-signature">
<span class="method-name">with_index</span><span class="method-args">(new_index) {|@index| ...}</span>
</a>
</div>
@@ -1603,8 +1603,8 @@ returns an array of all Git::Tag objects for this repository
LOWER LEVEL INDEX OPERATIONS ##
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000132-source">
+ onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000134-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 349</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_index</span>(<span class="ruby-identifier">new_index</span>)
@@ -1619,19 +1619,19 @@ LOWER LEVEL INDEX OPERATIONS ##
</div>
</div>
- <div id="method-M000133" class="method-detail">
- <a name="M000133"></a>
+ <div id="method-M000135" class="method-detail">
+ <a name="M000135"></a>
<div class="method-heading">
- <a href="#M000133" class="method-signature">
+ <a href="#M000135" class="method-signature">
<span class="method-name">with_temp_index</span><span class="method-args">(&amp;blk)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000133-source">
+ onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000135-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 357</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_temp_index</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>
@@ -1645,19 +1645,19 @@ LOWER LEVEL INDEX OPERATIONS ##
</div>
</div>
- <div id="method-M000142" class="method-detail">
- <a name="M000142"></a>
+ <div id="method-M000144" class="method-detail">
+ <a name="M000144"></a>
<div class="method-heading">
- <a href="#M000142" class="method-signature">
+ <a href="#M000144" class="method-signature">
<span class="method-name">with_temp_working</span><span class="method-args">(&amp;blk)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000142-source">
+ onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000144-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 405</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_temp_working</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>
@@ -1672,19 +1672,19 @@ LOWER LEVEL INDEX OPERATIONS ##
</div>
</div>
- <div id="method-M000141" class="method-detail">
- <a name="M000141"></a>
+ <div id="method-M000143" class="method-detail">
+ <a name="M000143"></a>
<div class="method-heading">
- <a href="#M000141" class="method-signature">
+ <a href="#M000143" class="method-signature">
<span class="method-name">with_working</span><span class="method-args">(work_dir) {|@working_directory| ...}</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000141-source">
+ onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000143-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 394</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_working</span>(<span class="ruby-identifier">work_dir</span>)
@@ -1702,19 +1702,19 @@ LOWER LEVEL INDEX OPERATIONS ##
</div>
</div>
- <div id="method-M000138" class="method-detail">
- <a name="M000138"></a>
+ <div id="method-M000140" class="method-detail">
+ <a name="M000140"></a>
<div class="method-heading">
- <a href="#M000138" class="method-signature">
+ <a href="#M000140" class="method-signature">
<span class="method-name">write_and_commit_tree</span><span class="method-args">(opts = {})</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000138-source">
+ onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000140-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 380</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_and_commit_tree</span>(<span class="ruby-identifier">opts</span> = {})
@@ -1726,19 +1726,19 @@ LOWER LEVEL INDEX OPERATIONS ##
</div>
</div>
- <div id="method-M000136" class="method-detail">
- <a name="M000136"></a>
+ <div id="method-M000138" class="method-detail">
+ <a name="M000138"></a>
<div class="method-heading">
- <a href="#M000136" class="method-signature">
+ <a href="#M000138" class="method-signature">
<span class="method-name">write_tree</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000136-source">
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000138-source">
<pre>
<span class="ruby-comment cmt"># File lib/git/base.rb, line 372</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_tree</span>