summaryrefslogtreecommitdiffstats
path: root/git-filter-branch.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-23 16:07:42 +0900
committerJunio C Hamano <gitster@pobox.com>2018-05-23 16:07:42 +0900
commitb9d9d90d180cf21baeeb16bd89828d25c7901470 (patch)
treea40241052af8d4f5543b66581e3f0235cfae0af3 /git-filter-branch.html
parentccb8252b46bfba5daf0cfcedaf0f9d2e14ba356f (diff)
downloadgit-htmldocs-b9d9d90d180cf21baeeb16bd89828d25c7901470.tar.gz
Autogenerated HTML docs for v2.17.0-775-ge144d
Diffstat (limited to 'git-filter-branch.html')
-rw-r--r--git-filter-branch.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/git-filter-branch.html b/git-filter-branch.html
index d629d8c2f..51d3fade1 100644
--- a/git-filter-branch.html
+++ b/git-filter-branch.html
@@ -1039,7 +1039,7 @@ any other non-zero value.</p></div>
</div>
</div>
<div class="sect1">
-<h2 id="_examples">Examples</h2>
+<h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="paragraph"><p>Suppose you want to remove a file (containing confidential information
or copyright violation) from all commits:</p></div>
@@ -1088,7 +1088,7 @@ happened). If this is not the case, use:</p></div>
<div class="paragraph"><p>or even simpler:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code>echo "$commit-id $graft-id" &gt;&gt; .git/info/grafts
+<pre><code>git replace --graft $commit-id $graft-id
git filter-branch $graft-id..HEAD</code></pre>
</div></div>
<div class="paragraph"><p>To remove commits authored by "Darl McBribe" from the history:</p></div>
@@ -1194,7 +1194,7 @@ git filter-branch ... D..H --not C</code></pre>
</div>
</div>
<div class="sect1">
-<h2 id="_checklist_for_shrinking_a_repository">Checklist for Shrinking a Repository</h2>
+<h2 id="_checklist_for_shrinking_a_repository">CHECKLIST FOR SHRINKING A REPOSITORY</h2>
<div class="sectionbody">
<div class="paragraph"><p>git-filter-branch can be used to get rid of a subset of files,
usually with some combination of <code>--index-filter</code> and
@@ -1256,7 +1256,7 @@ Garbage collect all unreferenced objects with <code>git gc --prune=now</code>
</div>
</div>
<div class="sect1">
-<h2 id="_notes">Notes</h2>
+<h2 id="_notes">NOTES</h2>
<div class="sectionbody">
<div class="paragraph"><p>git-filter-branch allows you to make complex shell-scripted rewrites
of your Git history, but you probably don&#8217;t need this flexibility if
@@ -1309,7 +1309,7 @@ The <a href="http://rtyley.github.io/bfg-repo-cleaner/#examples">command options
<div id="footer">
<div id="footer-text">
Last updated
- 2018-04-10 09:52:07 JST
+ 2018-05-23 16:06:29 JST
</div>
</div>
</body>