0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SmartGit > Mergeの種類 > Create Merge-Commit | Merge to Working Tree | Cancel > マージ手順の間違い

Last updated at Posted at 2018-03-08
動作環境
C++ Builder XE4
Windows 7 Pro (32bit)
SmartGit Version 17.1.5 #11217, installed: #11182

違和感のあるダイアログ

qiita.png

やろうとしていたことと、違和感の理由

featureブランチを切っていたリポジトリでmasterにマージしようとしていた。

従来の手順に従えば、下記に記載のように「Fast-Forward」のボタンも表示されるはず。
SmartGit > Mergeの種類 > Fast-Forward | Create Merge-Commit | Merge to Working Tree

今回の手順

  1. Brachesペインのmaster上で右クリック
  2. Merge...を選択

正しい手順

  1. Branchesペインのmasterをダブルクリック
    • masterをcheckout
  2. マージしたいfeatureブランチ上で右クリック
  3. Merge...を選択

うっかりによる失敗

linuxのログを取るbash scriptを実装した直後に、WindowsでC++ Builderプロジェクトの実装に戻ってきた。
頭の切り替えができておらず、うっかり失敗するところだった。

  • タスク切り替え時は、まず落ち着く
  • 違和感を感じた点で作業を中断
  • 違和感を解消する
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?