Skip to content

Commit a2b41dd

Browse files
committed
Correct git filter-branch command line argument on PowerShell
1 parent 6390e50 commit a2b41dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/09-git-and-other-scms/sections/import-tfs.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The following command will do that:
5252

5353
[source,powershell]
5454
----
55-
PS> git filter-branch -f --msg-filter 'sed "s/^git-tfs-id:.*$//g"' -- --all
55+
PS> git filter-branch -f --msg-filter 'sed "s/^git-tfs-id:.*$//g"' '--' --all
5656
----
5757

5858
That uses the `sed` command from the Git-bash environment to replace any line starting with ``git-tfs-id:'' with emptiness, which Git will then ignore.

0 commit comments

Comments
 (0)