1
0
mirror of synced 2025-12-22 11:26:57 -05:00

clean useless whitespaces in filter-branch example (#1710)

Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
Maxim Doucet
2020-12-02 17:55:12 +01:00
committed by GitHub
parent df9950c84a
commit b4082bcab3

View File

@@ -36,7 +36,7 @@ If you create a new clone of the repository, you won't lose any of your Git hist
{% endwindows %}
- `BRANCH-NAME`: The default branch for your current project, for example, `main` or `gh-pages`.
```shell
$ git filter-branch --prune-empty --subdirectory-filter <em>FOLDER-NAME BRANCH-NAME </em>
$ git filter-branch --prune-empty --subdirectory-filter <em>FOLDER-NAME BRANCH-NAME</em>
# Filter the specified branch in your directory and remove empty commits
> Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (89/89)
> Ref 'refs/heads/<em>BRANCH-NAME</em>' was rewritten