RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in