Skip to content

Instantly share code, notes, and snippets.

View davidguthu's full-sized avatar

David Guthu davidguthu

View GitHub Profile
@davidguthu
davidguthu / .gitattributes
Created June 14, 2021 13:09 — forked from jeromedalbert/.gitattributes
Automatically resolve Git merge conflicts in Rails schema.rb by picking the most recent date in the conflict (now works with Rails 5 and recent versions of Git). The following files should be in your home ~ directory. Inspired by https://tbaggery.com/2010/10/24/reduce-your-rails-schema-conflicts.html
db/schema.rb merge=railsschema