• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

git svn rebaseを行って conflict が発生した場合、 (no branch) になってしまいます。

この場合、手動でconflictを解決してcommitしたあと、

   1  % git log -1 --pretty=oneline

でコミットのハッシュを確認し、git checkoutでmerge先のブランチに 移動してから git merge <commit hash> すればokのようです。

posted by Png genki on Wed 14 Apr 2010 at 08:19 with 2 comments

Comments:

Face nari almost 14 years ago.

私は git rebase --continue を使っています。 (まとはずれな指摘だったらごめんなさい)

Png 瀧内元気 almost 14 years ago.

thx. 最初はそっちを試みた方がいいですね。

上のやつは、SVN沼にはまって動けなくなった場合にどうぞ。

   1  % git checkout -b hogehoge

でも、no branchでのコミットを引き継いだブランチを作れるます。

or Preview
Social Bookmarks
  • Delicious
  • B_entry1753
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ