From: "Shawn O. Pearce" <spearce@spearce.org>
To: g2 <gerald.gutierrez@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to jump between two repositories ...
Date: Wed, 5 Dec 2007 01:11:26 -0500 [thread overview]
Message-ID: <20071205061125.GE14735@spearce.org> (raw)
In-Reply-To: <C6AF7922-B2F7-42EB-B5DD-25353BC0AF2A@gmail.com>
g2 <gerald.gutierrez@gmail.com> wrote:
> At this point, I wanted to push my changes back to my work repository
> so I can continue work the next day. So at home, I did a git push. I
> expect that my work repository has the newest material, but I find
> that when I do "git status" at work the next day, it tells me that my
> test.c is "modified" and has already staged it for commit. I need to
> do a "git reset" followed by "git checkout" to update my work folder
> to the latest stuff.
Oddly enough, this question is asked so frequently that it is
answered in the GitFaq on the GitWiki:
http://git.or.cz/gitwiki/GitFaq#head-b96f48bc9c925074be9f95c0fce69bcece5f6e73
--
Shawn.
next prev parent reply other threads:[~2007-12-05 6:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-05 5:59 How to jump between two repositories g2
2007-12-05 6:11 ` Shawn O. Pearce [this message]
2007-12-05 6:14 ` J. Bruce Fields
2007-12-05 8:45 ` Andreas Ericsson
2007-12-05 15:28 ` g2
2007-12-05 16:19 ` Andreas Ericsson
2007-12-05 6:20 ` Väinö Järvelä
2007-12-05 6:44 ` g2
2007-12-05 6:57 ` Steven Grimm
2007-12-05 7:32 ` Väinö Järvelä
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=20071205061125.GE14735@spearce.org \
--to=spearce@spearce.org \
--cc=gerald.gutierrez@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).