git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull with "no common commits" : danger?

From
AAghiles <aghilesk@gmail.com>
Date
Apr 8, 2010, 02:43 UTC
Message-ID
<h2g3abd05a91004071943g6352370fnc68b81c73a204bb0@mail.gmail.com>
In-Reply-To
<4BBD3A98.2020207@drmicha.warpmail.net>
Show 11 quoted lines
> 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
Previous: Michael J GruberNext: Jonathan Nieder
Message 3 of 7 in “git pull with "no common commits" : danger?”
  1. AghilesApr 8, 2010
  2. Michael J GruberApr 8, 2010
  3. AghilesApr 8, 2010
  4. Jonathan NiederApr 8, 2010
  5. AghilesApr 8, 2010
  6. Junio C HamanoApr 8, 2010
  7. AghilesApr 8, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.