git/list[1] front-page[2] threads[3] people[4] search[5] about
 

newbie question - git-pull and local branch merge

From
PSPelle Svensson <pelle2004@gmail.com>
Date
Dec 22, 2006, 10:27 UTC
Message-ID
<6bb9c1030612220227h2dc83a78u2e31e0f4e6801412@mail.gmail.com>
Hi,
I'm quiet new to git and I have done this so far:
1. Installed git-1.4.4
2. pulled linus kernel tree.
3. Created a local branch 'git-checkout my stuff'
4. Edit a number of files.
5. git-commit -a
6. git-pull
7. Edit a couple more files.
8. git-pull <- Problem!

Accidentally I had 2 files not committed and one of these also had changes in the git-pull master branch which git could not merge automatically.

Changes has been done but I'm not fully convinced what has happen. I see that files has been changed and the failing merge file need's to be edit.

The really question I need answer is how can I see what changes has been done in the master branch (the one pulled in) of the file I suppose to merge manually. Is there no way to get out the 2 last versions from the master branch and supply them to KDiff3 or similarly diff program.

Also by reading the documentation I wounder what the difference is of:
- commit and check-in, seem to be same thing.
- update index-file and update the repository.
/Thanks
Next: Junio C Hamano
Message 1 of 4 in “newbie question - git-pull and local branch merge”
  1. Pelle SvenssonDec 22, 2006
  2. Junio C HamanoDec 22, 2006
  3. Pelle SvenssonDec 22, 2006
  4. Junio C HamanoDec 22, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.