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

Re: git pull warning

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 17, 2020, 11:33 UTC
Message-ID
<nycvar.QRO.7.76.6.2007171330010.54@tvgsbejvaqbjf.bet>
In-Reply-To
<30eadf73-689a-b5fd-6e59-bfef4f48814b@bitplan.com>
Hi Wolfgang,

please note that the language on this mailing list is English, it is a bit rude to assume that every reader on this list will learn German just to read your mail.

On Fri, 17 Jul 2020, Wolfgang Fahl wrote:
Show 23 quoted lines
> [...]
> git pull
> warning: Es wird davon abgeraten zu Pullen, ohne anzugeben, wie mit
> abweichenden
> Branches umgegangen werden soll. Sie können diese Nachricht unterdrücken,
> indem Sie einen der folgenden Befehle ausführen, bevor der nächste Pull
> ausgeführt wird:
>
>   git config pull.rebase false  # Merge (Standard-Strategie)
>   git config pull.rebase true   # Rebase
>   git config pull.ff only       # ausschließlich Vorspulen
>
> Sie können statt "git config" auch "git config --global" nutzen, um
> einen Standard für alle Repositories festzulegen. Sie können auch die
> Option --rebase, --no-rebase oder --ff-only auf der Kommandozeile nutzen,
> um das konfigurierte Standardverhalten pro Aufruf zu überschreiben.
>
> Bereits aktuell.
> Was ist der Unterschied zwischen dem, was Sie erwartet haben und was
> wirklich passiert ist?
> the warning
> Sonstige Anmerkungen, die Sie hinzufügen möchten:
> please remove the warning

You can, and should, remove that warning yourself by using the appropriate call, as indicated by the very warning you want to suppress. In your instance, the most likely course of action would be

	git config --global pull.rebase false

As this warning message was added intentionally, there is very little chance that Git itself will remove it; You ware expected to configure the behavior you desire.

Ciao, Johannes

P.S.: I wonder whether it was such a good idea to translate the bug report template, given that the primary purpose was most likely to allow reporting bugs to the Git mailing list.

Previous: Wolfgang Fahl
Message 2 of 2 in “git pull warning”
  1. Wolfgang FahlJul 17, 2020
  2. Johannes SchindelinJul 17, 2020

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.