git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aghiles <aghilesk@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git list <git@vger.kernel.org>
Subject: Re: git pull with "no common commits" : danger?
Date: Wed, 7 Apr 2010 22:43:47 -0400	[thread overview]
Message-ID: <h2g3abd05a91004071943g6352370fnc68b81c73a204bb0@mail.gmail.com> (raw)
In-Reply-To: <4BBD3A98.2020207@drmicha.warpmail.net>

> Aghiles venit, vidit, dixit 08.04.2010 09:56:
>> Hello,
>>
>> I mistakenly pulled a project into another project. I had the
>> "warning: no common commits" but the pull did proceed.
>> I am wondering if, from a usability point of view, it would be
>> best to avoid doing so by default.
>
> Puleeezze: No animals were harmed during the process, right? I mean, no
> data loss, all you have to do is a git reset. Let's try and not make Git
> into "Are you sure"dom.

How many times did you see that message? If you saw it, it was probably a
mistake. I think that it is a safe bet to assume that whoever does that won't
complain to type something like: git pull --no-common-commits-ok

I manage many git projects and this happens from time to time, mainly
because of tiredness. I simply consider the proposed behaviour more
natural.

Git is not the bare bone tool set anymore, it aspires into becoming a user
friendly tool, usable by "the masses". And don't worry, following some simple
usability rules won't make git less "cool".

Now, that was just a suggestion,

  -- aghiles

  reply	other threads:[~2010-04-08  2:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  1:56 git pull with "no common commits" : danger? Aghiles
2010-04-08  2:08 ` Michael J Gruber
2010-04-08  2:43   ` Aghiles [this message]
2010-04-08  5:44 ` Jonathan Nieder
2010-04-08 19:55   ` Aghiles
2010-04-08  6:20 ` Junio C Hamano
2010-04-08 19:46   ` Aghiles

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=h2g3abd05a91004071943g6352370fnc68b81c73a204bb0@mail.gmail.com \
    --to=aghilesk@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --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).