summaryrefslogtreecommitdiff
path: root/git-rewrite-branch
diff options
context:
space:
mode:
Diffstat (limited to 'git-rewrite-branch')
-rwxr-xr-xgit-rewrite-branch7
1 files changed, 3 insertions, 4 deletions
diff --git a/git-rewrite-branch b/git-rewrite-branch
index 970229d..6e37cc4 100755
--- a/git-rewrite-branch
+++ b/git-rewrite-branch
@@ -5,7 +5,7 @@
set -eE
-USAGE='[-h|-v|--no-tag|--tag=tag] <in-branch> <out-branch> <filters>...'
+USAGE='[-h|-v|--no-tag|--tag=tag|--svn] <in-branch> <out-branch> <filters>...'
LONG_USAGE='Like filter-branch, but can be used to update branches.
This creates or updates <out-branch> from <in-branch>. If <out-branch> already
@@ -22,13 +22,12 @@ does not need to be edited.
-h Show this text
-v Be more verbose
- --svn Use an existing "git-svn-id" instead of "git-rewrite-id"
- (in-branch was generated by git-svn)
--tag=<tag> Use the exiting <tag> as found in <in-branch>, instead of
the commit hash.
--no-tag Disregard a previous "--tag="; set "git-rewrite-id" to
the commit hash.
- --svn An alias for "--tag=git-svn-id"
+ --svn An alias for "--tag=git-svn-id" (use if <in-branch> was
+ generated by `git-svn`).
<filters> is passed directly to `git filter-branch`, and therefore has the same
format.