You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a while to realize that my attempts to delete a file from a specified range of --refs was not working because the file was created earlier. Example command:
This deletes FILE only if FILE was created in the last 5 commits. If the file was created in HEAD~6, git-filter-repo happily processes all of the last 5 commits without any notification that FILE was not deleted. I don't know if this should be a bug report or if this is intended behavior.
My question is, how do I go about deleting FILE from the range HEAD~5..HEAD if FILE was created in HEAD~6 or earlier?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
It took me a while to realize that my attempts to delete a file from a specified range of
--refs
was not working because the file was created earlier. Example command:This deletes FILE only if FILE was created in the last 5 commits. If the file was created in HEAD~6, git-filter-repo happily processes all of the last 5 commits without any notification that FILE was not deleted. I don't know if this should be a bug report or if this is intended behavior.
My question is, how do I go about deleting FILE from the range HEAD~5..HEAD if FILE was created in HEAD~6 or earlier?
Beta Was this translation helpful? Give feedback.
All reactions