ruby on rails - Merging two branches, one with Postgres and another with SQLite3 -
like title says, building rails app , switching on sqlite3 postgres. believe have made switch on queries working successfully, on branch.
can standard git merge [branch] master
or should else?
im worried merge have ton of conflicts , leave me app somewhere in middle of sqlite , psql. have been working hard on , dont want screw up.
thanks much!
your options bringing postgres branch master
merging , rebasing. in either case, might merge conflicts in process, because changed queries around , git might not able figure out how resolve automatically.
assuming no other changes have been made original queries in master
point when branched off, should able retain postgres queries being authoritative version without paying attention conflicts.
if suspect else in team might have modified .sql
files, can switch master
branch , @ diff between commit in master
branched off, , head
, e.g.
git diff <sha-1 branching> head -- somefile.sql
if diff shows changes in file somefile.sql
, queries may have changed, , should pay special attention when merge/rebase feature branch master
.
Comments
Post a Comment