-
I'm working on removing some data from files in a projects history and I'm following the docs on parent rewriting to clean up some code. The project is several years old so it has many branches and tags to deal with. I replaced The commands I used:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I believe
is an error by default, because git-replace says "Unless -f is given, the replace reference must not yet exist.". So that line is doing nothing. Did you check that running
before running the filter-repo command shows the actual replacement setup? Also, does
actually give you the log message for commit_B? If those are as expected, could you specify in more detail what you mean by "see[ing] commit_A in other branches"? In particular, what are the git commands you are running that shows commit_A? Was this after doing additional pushing/fetching, or seen in the repo where you ran the filtering operation before pushing/pulling it anywhere? |
Beta Was this translation helpful? Give feedback.
I believe
is an error by default, because git-replace says "Unless -f is given, the replace reference must not yet exist.". So that line is doing nothing.
Did you check that running
before running the filter-repo command shows the actual replacement setup? Also, does
actually give you the log message for commit_B?
If those are as expected, could you specify in more detail what you mean by "see[ing] commit_A in other branches"? In particular, what are the git commands you are running that shows commit_A? Was this after doing additional pushing/fetching, or seen in the repo where you ran the filterin…