git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Excluding files from Git merge
@ 2020-06-11 14:31 Tiran Meltser
  0 siblings, 0 replies; only message in thread
From: Tiran Meltser @ 2020-06-11 14:31 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: Amir Yosef

Hi,
This topic is quite common in various use cases (e.g. production configuration vs. staging one) and there are quite a few talks about it in the web.
Nevertheless, there is no specific solution to this problem, only partial workarounds (including the famous merge driver “ours”).

I would like to suggest adding the git a simple and precise handling for the need to mark file(s)/folder(s) that are branch specific and should not be involved in merge operation at all.

2 suggestions I can think of are (but any good solution would suffice):
• Adding additional merge strategy indication the file/folder is excluded from merges (e.g. merge=disabled/none/skip/…)
• Adding a new configuration file (like .gitignore) for tracking these special files/folders, for example: .gitisolate/.gitquarantine/.gitbranchspecific/.gitsilo/…

Any comment would be appreciated.



Tiran Meltser
System Architect, Global Products & Operations





t   tel:+441189308826
m tel:+447894604040
e  mailto:maria.hudson@mavenir.com


________________________________
This e-mail message may contain confidential or proprietary information of Mavenir Systems, Inc. or its affiliates and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies in your control and contact us by e-mailing to security@mavenir.com. This message contains the views of its author and may not necessarily reflect the views of Mavenir Systems, Inc. or its affiliates, who employ systems to monitor email messages, but make no representation that such messages are authorized, secure, uncompromised, or free from computer viruses, malware, or other defects. Thank You

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-11 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 14:31 Excluding files from Git merge Tiran Meltser

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).