# Can't merge

2 messages from 2008-10-27 to 2008-10-27. Participants: html-kurs@gmx.de, Rémi Vanicat.
Thread: https://gitlist.dev/t/16061

## html-kurs@gmx.de, 2008-10-27 16:52

Subject: Can't merge
Message-ID: <20081027165247.141110@gmx.net>
URL: https://gitlist.dev/e/20081027165247.141110%40gmx.net

```
Hi,

I've run in trouble when trying to merge a branch:
I've got a branch "foo".
I checkout master.
> git diff foo 
shows many diffs.
But 
> git merge foo
says:
Already up-to-date.

I'm using version 1.6.0.2

Any idea what I'm doing wrong?

TIA,
Martin

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

```

## Rémi Vanicat, 2008-10-27 19:14

Subject: Re: Can't merge
Message-ID: <87zlkp7svn.dlv@maison.homelinux.org>
URL: https://gitlist.dev/e/87zlkp7svn.dlv%40maison.homelinux.org
In-Reply-To: <20081027165247.141110@gmx.net>

```
html-kurs@gmx.de writes:

> Hi,
>
> I've run in trouble when trying to merge a branch:
> I've got a branch "foo".
> I checkout master.
>> git diff foo 
> shows many diffs.
> But 
>> git merge foo
> says:
> Already up-to-date.
>
> I'm using version 1.6.0.2
>
> Any idea what I'm doing wrong?

When git say "Already up-to-date" it tell you that all change introduced
in the foo branch are in master. But there could be change in master
that are not in foo, making foo and master different. You could try 

> gitk foo..master
to see commit that are in master but not in foo and that could introduce
the difference between the foo and master branch.


-- 
Rémi Vanicat

```
