After you commit a bug fix to a feature branch, find out if the code you changed to fix the bug is in files that change often: git-churn If the buggy code changes often, find smells and refactor them. Separate the parts that change often from the parts that don't. Conversely, avoid refactoring areas with low churn. Refactoring changes code, and with each change, you risk introducing new bugs. Example: [feature-branch][~/dev/rails-app] churn 2 app/controllers/accepts_controller.rb 2 config/database.yml 4 app/helpers/application_helper.rb 4 config/application.rb 9 spec/models/user_spec.rb 9 spec/spec_helper.rb 12 spec/requests/dashboard_spec.rb 13 spec/models/feedback_spec.rb 19 app/models/feedback.rb 21 app/models/user.rb
2 lines
20 B
Text
2 lines
20 B
Text
vim/.netrwhist
|
|
!bin
|