git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* excluding files from a merge
@ 2009-03-15  1:23 Daniel Jacobs
  2009-03-15 12:47 ` Jay Soffian
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobs @ 2009-03-15  1:23 UTC (permalink / raw)
  To: git

Our project has two main branches set up, one called 'development, and 
another called 'production'.

Each branch has a file in it called database.yml, (this is a rails project)...
 The development branch and the 
production branch are supposed to have different versions of this file. 
(and not only this file, but other 
config sorts of files as well, but this is a good example).

At the same time, when development is ready for deployment, we will do
git checkout production
git merge development

I would like it if every file was merged, except for files that were explictly 
excluded from a merge between these two branches.  Is there a good way to do
this?

-Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-16  1:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15  1:23 excluding files from a merge Daniel Jacobs
2009-03-15 12:47 ` Jay Soffian
2009-03-15 22:14   ` Nanako Shiraishi
2009-03-16  1:45     ` Jay Soffian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).