all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master f9fabb2 2/2: Merge branch 'master' of	git.sv.gnu.org:/srv/git/emacs
Date: Thu, 28 May 2015 15:02:13 -0400	[thread overview]
Message-ID: <jwvtwuw7cu3.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <87a8wo3fyk.fsf@gmx.de> (Michael Albinus's message of "Thu, 28 May 2015 17:00:03 +0200")

> I try to use vc-dir as much as possible. At this step, several files
> were marked as "edited", surprisingly. IIRC all files which were
> reported between my two previous pull requests, while I did commit
> tramp.el locally. That's to say the files, Stefan has repaired with

Yes, it's something annoys me in other ways as well.
When you do a "git pull" (or equivalent) when ends up being a merge
rather than a fast-forward, you're basically adding the *other* branch's
code to yours, so when there's a conflict it shows you that other code
and those places where it conflicts with yours.

Furthermore, it messes up the repository's "mainline".

The way Git intends you to use it, you should basically never
"commit+push" on the "master" branch.  Instead you should do all
development on some other branch, and then to push it to master, you
need to do "checkout master; git pull; git merge <branch>; git push" and
if the push fails, you need to "git reset --soft HEAD^" and try again.

I should sit down and write a "git update" command which would work like
"git pull" but which pulls the current branch into the other branch
instead of the other way around.


        Stefan



  parent reply	other threads:[~2015-05-28 19:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150527165006.32357.80915@vcs.savannah.gnu.org>
     [not found] ` <E1YxeWz-0008TK-TD@vcs.savannah.gnu.org>
2015-05-28  2:40   ` [Emacs-diffs] master f9fabb2 2/2: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs Stefan Monnier
2015-05-28  8:13     ` Michael Albinus
2015-05-28  9:27       ` Artur Malabarba
2015-05-28 10:05         ` Michael Albinus
2015-05-28 10:16           ` Andreas Schwab
2015-05-28 10:26             ` Michael Albinus
2015-05-28 16:55               ` Stefan Monnier
2015-05-28 14:46         ` Eli Zaretskii
2015-05-28 15:05           ` Michael Albinus
2015-05-28 15:26             ` Eli Zaretskii
2015-05-28 15:44             ` Phillip Lord
2015-05-28 16:24           ` Artur Malabarba
2015-05-28 17:02             ` Eli Zaretskii
2015-05-28 14:40       ` Eli Zaretskii
2015-05-28 15:00         ` Michael Albinus
2015-05-28 15:19           ` Eli Zaretskii
2015-05-28 15:52             ` Michael Albinus
2015-05-28 15:56               ` Dmitry Gutov
2015-05-28 16:52               ` Eli Zaretskii
2015-05-28 15:49           ` Andreas Schwab
2015-05-28 19:02           ` Stefan Monnier [this message]
2015-05-29  2:20             ` Yuri Khan

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=jwvtwuw7cu3.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.