summaryrefslogtreecommitdiffstats
path: root/git-filter-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-20 15:45:24 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-20 15:45:24 +0900
commitf7e3f4720248d8f301f1a9d734940ac233333bfd (patch)
tree9218fcdf9a6a2d6c5ce3604024f3a30ff09d6eb1 /git-filter-branch.txt
parentbadd79c219fe0283e7e2a448cc04da89724eefd9 (diff)
downloadgit-htmldocs-f7e3f4720248d8f301f1a9d734940ac233333bfd.tar.gz
Autogenerated HTML docs for v2.15.0-rc2
Diffstat (limited to 'git-filter-branch.txt')
-rw-r--r--git-filter-branch.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/git-filter-branch.txt b/git-filter-branch.txt
index bebdcdec5..3a52e4dce 100644
--- a/git-filter-branch.txt
+++ b/git-filter-branch.txt
@@ -8,11 +8,11 @@ git-filter-branch - Rewrite branches
SYNOPSIS
--------
[verse]
-'git filter-branch' [--setup <command>] [--env-filter <command>]
- [--tree-filter <command>] [--index-filter <command>]
- [--parent-filter <command>] [--msg-filter <command>]
- [--commit-filter <command>] [--tag-name-filter <command>]
- [--subdirectory-filter <directory>] [--prune-empty]
+'git filter-branch' [--setup <command>] [--subdirectory-filter <directory>]
+ [--env-filter <command>] [--tree-filter <command>]
+ [--index-filter <command>] [--parent-filter <command>]
+ [--msg-filter <command>] [--commit-filter <command>]
+ [--tag-name-filter <command>] [--prune-empty]
[--original <namespace>] [-d <directory>] [-f | --force]
[--state-branch <branch>] [--] [<rev-list options>...]
@@ -89,6 +89,11 @@ OPTIONS
can be used or modified in the following filter steps except
the commit filter, for technical reasons.
+--subdirectory-filter <directory>::
+ Only look at the history which touches the given subdirectory.
+ The result will contain that directory (and only that) as its
+ project root. Implies <<Remap_to_ancestor>>.
+
--env-filter <command>::
This filter may be used if you only need to modify the environment
in which the commit will be performed. Specifically, you might
@@ -167,11 +172,6 @@ be removed, buyer beware. There is also no support for changing the
author or timestamp (or the tag message for that matter). Tags which point
to other tags will be rewritten to point to the underlying commit.
---subdirectory-filter <directory>::
- Only look at the history which touches the given subdirectory.
- The result will contain that directory (and only that) as its
- project root. Implies <<Remap_to_ancestor>>.
-
--prune-empty::
Some filters will generate empty commits that leave the tree untouched.
This option instructs git-filter-branch to remove such commits if they