Removing unused code with git bisect
https://www.youtube.com/watch?v=t-oALunloeU
What can you do when you find code that is not used anywhere?
Before deleting it, you might want to look up when it was introduced and when its last usage was removed. Digging in the history of the code base is easy with “git bisect” and will greatly help your fellow programmers to review your Pull Request.
Post a comment