問題タブ [git-squash]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
3 に答える
1267 参照

git - 他のブランチからのコミットをスカッシュしても安全ですか?

との 2 つのブランチがmasterありfeatureます。

開発はfeatureブランチで行われ、そのブランチで複数のコミットが行われますが、それらの間にmasterブランチとのマージがいくつかあったため、機能ブランチのログはたとえば次のようになります。

  • 機能コミット 1

  • マスターコミット 1

  • 機能コミット 2

  • マスターコミット 2

  • 機能コミット 3

これらすべてのコミットを 1 つにまとめても安全feature commit 1ですか?

featureブランチを にマージするときに遭遇する可能性のある問題はありますmasterか?