Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Documentation/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ this does not look like a fresh clone.
[...]
Please operate on a fresh clone instead. If you want to proceed
anyway, use --force.
This may delete your reflog, stash, remotes, and other things
you may not expect, so do read the --force docs first!
```
If you then added `--force`, well, you were warned.

Expand Down
4 changes: 3 additions & 1 deletion git-filter-repo
Original file line number Diff line number Diff line change
Expand Up @@ -3414,7 +3414,9 @@ class RepoFilter(object):
"this does not look like a fresh clone.\n"
" (%s)\n%s"
"Please operate on a fresh clone instead. If you want to proceed\n"
"anyway, use --force.") % (reason, msg))
"anyway, use --force.\n"
"This may delete your reflog, stash, remotes, and other things\n"
"you may not expect, so do read the --force docs first!") % (reason, msg))

# Avoid letting people running with weird setups and overwriting GIT_DIR
# elsewhere
Expand Down