Skip to main content


Siehaben abweichende Branches


Hallo !Friendica Support

Beim aktualisieren meiner Friendica Instanz gab es gerade diese Meldung:

Hinweis: Sie haben abweichende Branches und müssen angeben, wie mit diesen
Hinweis: umgegangen werden soll.
Hinweis: Sie können dies tun, indem Sie einen der folgenden Befehle vor dem
Hinweis: nächsten Pull ausführen:
Hinweis: 
Hinweis:   git config pull.rebase false  # Merge
Hinweis:   git config pull.rebase true   # Rebase
Hinweis:   git config pull.ff only       # ausschließlich Vorspulen
Hinweis: 
Hinweis: Sie können statt "git config" auch "git config --global" nutzen, um
Hinweis: einen Standard für alle Repositories festzulegen. Sie können auch die
Hinweis: Option --rebase, --no-rebase oder --ff-only auf der Kommandozeile nutzen,
Hinweis: um das konfigurierte Standardverhalten pro Aufruf zu überschreiben.

Was soll mir das genau sagen? Die Meldung taucht auch nur beim aktualisieren der Addons auf.

in reply to Montag

@Montag I think it just means that you have not told git how you would like to update your branch. This should be set of in the config once.

Now whether to merge or rebase is like opening a can of worms... 😆 and can result in a philosophical discussion.

Friendica Support reshared this.

in reply to Andy H3

@Andy H3 @Montag If you aren't doing any development on the machine you're running this from, you can go with the more restrictive git config pull.ff only which will only pull if there's an uninterrupted chain of commits between the upstream state and your local state, which should always be the case if you don't commit anything yourself.
in reply to Montag

I don't know what happened or why this message appears. But I was able to solve the problem this way:

git checkout develop
git branch -d 2023.09-rc
git checkout 2023.09-rc
git pull