Frage

Meine persönliche Wordpress Installation wird aus dem Wordpress git Spiegel auf GitHub. Ich überprüfte den 2.7.1-Tag auf den Zweig „stabil“ (git checkout -b stable 2.7.1) und seine Ordnung, da läuft. Jetzt Wordpress 2.8 wurde veröffentlicht Ich möchte meinen stabilen Zweig zu dem 2,8-Tag verschieben.

Ich habe versucht, die folgende (alle auf dem stabilen Zweig), sondern Konflikte bekommen, wie es jede jeweils anzuwenden versucht zu begehen, scheint etwas nicht stimmt. Ich habe keine lokalen Änderungen / verpflichten auf dem stabilen Zweig.

git fetch 
git fetch --tags
git rebase 2.8

First, rewinding head to replay your work on top of it...
Applying: Prepare the branch for the inevitable.
error: patch failed: wp-includes/version.php:8
error: wp-includes/version.php: patch does not apply
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging wp-includes/version.php
CONFLICT (content): Merge conflict in wp-includes/version.php
Failed to merge in the changes.
Patch failed at 0001 Prepare the branch for the inevitable.

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".

Wie kann ich meinen stabilen Zweig zu dem 2,8-Tag „bewegen“?

War es hilfreich?

Lösung

Verwenden Sie "git checkout 2.8".

Wenn Sie „stabil“ zu bewegen, können Sie einfach entfernen / neu erstellen:

$ git checkout 2.8
$ git branch -d stable
$ git checkout -b stable

Andere Tipps

# git checkout stable
# git reset --hard 2.8

Dort gehen Sie.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top