git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Branches merging by only overwrite files
@ 2005-12-11  8:30 Ben Lau
  2005-12-11  9:33 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Lau @ 2005-12-11  8:30 UTC (permalink / raw)
  To: Git Mailing List

Hi,

    I am looking for a solution to merge two branches but do not perform 
file level merge. Instead, I wish the result file is the copy from any 
one of the branches.

    For example, assumes it has two branches A and B,  some of the files 
are modified in both of them. In this case, `/usr/bin/merge` could not 
be execated, it just have to choose the revision from branch A and 
discards all the changes from B. For the rest of files, it just simply 
choose the newest copy from A or B.

    How can I perform this action?

Thanks in advance.

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

end of thread, other threads:[~2005-12-11 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11  8:30 Branches merging by only overwrite files Ben Lau
2005-12-11  9:33 ` Junio C Hamano
2005-12-11 11:15   ` Ben Lau

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).