From: "J. Bruce Fields" <bfields@fieldses.org>
To: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>, andholt <andholt@gmail.com>,
git@vger.kernel.org
Subject: Re: How to commit changes if remote repository changed directory structure?
Date: Fri, 20 Mar 2009 18:30:05 -0400 [thread overview]
Message-ID: <20090320223005.GA25057@fieldses.org> (raw)
In-Reply-To: <20090320071319.GF27008@coredump.intra.peff.net>
On Fri, Mar 20, 2009 at 03:13:19AM -0400, Jeff King wrote:
> On Fri, Mar 20, 2009 at 12:08:51AM -0700, Junio C Hamano wrote:
>
> > > First, commit your changes. Then merge the other developer's changes. :)
> >
> > We should probably point out to new people that "first commit and then
> > worry about merges after your changes are safely committed" is always how
> > people would "go about" anything.
>
> Yes, absolutely.
>
> Most of the current documentation focuses on being a reference to
> particular commands or tasks. But this is more of a "philosophy of
> working with git" item. I guess it should go in the user manual
> somewhere. Cc'ing Bruce, who may have some comments.
I agree, that's kind of an odd hold in the user manual. Maybe it goes
without saying, but it might be useful somewhere in ch. 3, maybe when
introducing commits, something along the lines of: "note all of these
commits are stored only in your local repository, and are visible only
to you. With some version control systems, "committing" requires
sending the commit to a central server. With git, you are expected to
do all your work locally and only merge with others' work when
necessary; we'll learn how to do that in <chapter 4>."
And then say something similar again at the start of chapter 4?
--b.
prev parent reply other threads:[~2009-03-20 22:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 1:17 How to commit changes if remote repository changed directory structure? andholt
2009-03-20 6:09 ` Jeff King
2009-03-20 7:08 ` Junio C Hamano
2009-03-20 7:13 ` Jeff King
2009-03-20 22:30 ` J. Bruce Fields [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=20090320223005.GA25057@fieldses.org \
--to=bfields@fieldses.org \
--cc=andholt@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
/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).