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

How to update from remote origin with local modified branch?

From
GGittyUser <xtelligence@gmail.com>
Date
Dec 2, 2009, 11:22 UTC
Message-ID
<1259752954810-4099323.post@n2.nabble.com>

I have once cloned a a project from a remote repository: git cloned http://repo.or.cz/r/openbsc.git

After that I modified some files and commited. In the mean time the remote repository had several commits. Now I want to update my local repo from the remote repo but I also want to keep my own commits. So, when doing "git pull" I get the message that certain files needs to be updated.

Now, how can I get my local repo, with my own modification, updated by the remote repo? I know I need to be aware that those updates (or commits) from remote must not conflict with my local.

Thank you.
-- 
View this message in context: http://n2.nabble.com/How-to-update-from-remote-origin-with-local-modified-branch-tp4099323p4099323.html
Sent from the git mailing list archive at Nabble.com.
Next: Michael J Gruber
Message 1 of 3 in “How to update from remote origin with local modified branch?”
  1. GittyUserDec 2, 2009
  2. Michael J GruberDec 2, 2009
  3. GittyUserDec 2, 2009

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.