私はまだGitに苦労しています。
問題は次のとおりです。
私たちは 2 人でプロジェクトに取り組んでいます。
関係と呼ばれるマスターから新しいブランチを作成しました。
今、私の友人はマスターを更新しましたが、いくつかのバグを修正する必要があります。
Netbeans でブランチに切り替えると、すべての「関係」の変更が表示され、それらをコミットするよう求められます。
それは私が探しているものではありません!
Netbeans サイトは私にこれを教えてくれます [Switch to branch]:
Switch to Branch
Actor: User
Action: User wants to switch to a branch (see also Checkout)
"Priority:" 1
Scenario:
User selects a versioned context and invokes 'switch branch' from the main menu
User specifies the branch and additional options - keep local changes etc.
The working tree is switched to the specified branch
および [チェックアウト]:
チェックアウト
Actor: User
Action: User wants to checkout a specific revision/tag/branch
"Priority:" 1
Scenario:
User selects a a versioned context and invokes 'chekout' from the main menu
User specifies the revision/tag/branch to checkout
The working tree will be switched to the specified revision
GIT が頭を悩ませています。
では、これら2つの違いは何ですか?
[Master] ブランチに切り替えてからバグを更新し、[Master] にいるときに [Relation] からの変更をコミットするように git に指示されることなく [Relation] ブランチに戻ることができる必要があります。ブランチ