質問

Wordpressの個人的なインストールは、GitHubの wordpress git mirror から複製されます。 2.7.1タグをブランチ「stable」にチェックアウトしました。 ( git checkout -b stable 2.7.1 )、それ以降は正常に動作しています。 WordPress 2.8がリリースされたので、安定版ブランチを2.8タグに移動します。

以下を試しました(すべて安定版ブランチで)が、各コミットを適用しようとすると競合が発生します。何かが正しくないと思われます。安定版ブランチでローカルな変更/コミットを行っていません。

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".

どうすれば「移動」できますか? 2.8タグへの安定したブランチですか?

役に立ちましたか?

解決

「git checkout 2.8」を使用します。

「安定」を移動する場合は、単純に削除/再作成できます:

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

他のヒント

# git checkout stable
# git reset --hard 2.8

そこに行きます。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top