From: GittyUser <xtelligence@gmail.com>
To: git@vger.kernel.org
Subject: Re: How to update from remote origin with local modified branch?
Date: Wed, 2 Dec 2009 08:20:19 -0800 (PST) [thread overview]
Message-ID: <1259770819546-4100678.post@n2.nabble.com> (raw)
In-Reply-To: <4B167925.8080307@drmicha.warpmail.net>
Michael J Gruber-2 wrote:
>
>
> I think you want to read up on workflows with git and decide whether you
> want to rebase or merge. In short, git fetch --all (which is called by
> git pull) will update your remote tracking branches (origin/*), and then
> you can decide what to do with your local branch (probably master): Do
> you merge origin/master into master, or do you rebase master onto
> origin/master?
>
Thnx for your response,
What I want is merge origin/master to local branch master. My mistake is to
have some uncommited files and I guess that's the reason why it's not,
pardon me, it could not be updated. So I try to commit the files, but still
had issues about unmerged files. So as advised I did "git add -f
unmergedfile" and than they were added to the Index. Did finally the commit
and now get the "Already up-to-date" message after a pull command.
Still need to practice a lot to know what is exactly going on.
--
View this message in context: http://n2.nabble.com/How-to-update-from-remote-origin-with-local-modified-branch-tp4099323p4100678.html
Sent from the git mailing list archive at Nabble.com.
prev parent reply other threads:[~2009-12-02 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 11:22 How to update from remote origin with local modified branch? GittyUser
2009-12-02 14:26 ` Michael J Gruber
2009-12-02 16:20 ` GittyUser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1259770819546-4100678.post@n2.nabble.com \
--to=xtelligence@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).