All of lore.kernel.org
 help / color / mirror / Atom feed
* merging branches
@ 2012-10-22 16:33 Коньков Евгений
  0 siblings, 0 replies; 4+ messages in thread
From: Коньков Евгений @ 2012-10-22 16:33 UTC (permalink / raw)
  To: git

Hi, Git.


While merging branches I get conflicts in files that I have not touch.
Why they occour??

My suggestion is that that files that was automerged GIT counts as
they were modified by me, so next automerge to those files fill FAIL.

If so, how I can escape from that CONFLICT situation?


-- 
 С уважением,
 Коньков Евгений
 Программист
 Регистратор доменных имен REG.RU
 Телефон: +38 (097) 7654-676
 www.reg.ru
 ___________________
 Sincerely yours,
 Konkov Eugen
 Developer
 Accredited domain Registrar REG.RU, LLC.
 Phone: +38 (097) 7654-676
 www.reg.ru/en/

mailto:kes@reg.ru

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

* Re: Merging branches
  2010-07-13 22:05 ` Ævar Arnfjörð Bjarmason
@ 2010-07-14  5:24   ` Avery Pennarun
  0 siblings, 0 replies; 4+ messages in thread
From: Avery Pennarun @ 2010-07-14  5:24 UTC (permalink / raw)
  To: Ævar Arnfjörð Bjarmason; +Cc: jhapk, git

On Tue, Jul 13, 2010 at 6:05 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Tue, Jul 13, 2010 at 21:28, jhapk <pradeep.kumar.jha@gmail.com> wrote:
>> I have a git history which looks something like as in the figure above. I
>> want to merge Branch A in Branch B. However, the commits a1, a2 and a3 are
>> ugly and so I don't want those commits in my Branch B log. Is there anyway
>> that I can only pull the final form of Branch A without pulling the whole
>> history of Branch A?
>
> Yes, you use rebase to squash or drop those commits, and then merge the branch.

Or just "git merge --squash".

Have fun,

Avery

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

* Re: Merging branches
  2010-07-13 21:28 Merging branches jhapk
@ 2010-07-13 22:05 ` Ævar Arnfjörð Bjarmason
  2010-07-14  5:24   ` Avery Pennarun
  0 siblings, 1 reply; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-07-13 22:05 UTC (permalink / raw)
  To: jhapk; +Cc: git

On Tue, Jul 13, 2010 at 21:28, jhapk <pradeep.kumar.jha@gmail.com> wrote:
> I have a git history which looks something like as in the figure above. I
> want to merge Branch A in Branch B. However, the commits a1, a2 and a3 are
> ugly and so I don't want those commits in my Branch B log. Is there anyway
> that I can only pull the final form of Branch A without pulling the whole
> history of Branch A?

Yes, you use rebase to squash or drop those commits, and then merge the branch.

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

* Merging branches
@ 2010-07-13 21:28 jhapk
  2010-07-13 22:05 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 4+ messages in thread
From: jhapk @ 2010-07-13 21:28 UTC (permalink / raw)
  To: git


http://git.661346.n2.nabble.com/file/n5289861/git.jpg git.jpg 

Hi,

I have a git history which looks something like as in the figure above. I
want to merge Branch A in Branch B. However, the commits a1, a2 and a3 are
ugly and so I don't want those commits in my Branch B log. Is there anyway
that I can only pull the final form of Branch A without pulling the whole
history of Branch A?

Thanks
-- 
View this message in context: http://git.661346.n2.nabble.com/Merging-branches-tp5289861p5289861.html
Sent from the git mailing list archive at Nabble.com.

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

end of thread, other threads:[~2012-10-22 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-22 16:33 merging branches Коньков Евгений
  -- strict thread matches above, loose matches on Subject: below --
2010-07-13 21:28 Merging branches jhapk
2010-07-13 22:05 ` Ævar Arnfjörð Bjarmason
2010-07-14  5:24   ` Avery Pennarun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.