2017-12-24 9 views

答えて

1

あなたはabzファイルをコミットした後、その中およびその後unstageすべての変更は、関連するものを追加し、次の新しい変更

をコミットcherry-pick可能性は、あなたがそうするのを助ける一連のコマンドです:

git cherry-pick -n <commit> # get your patch, but don't commit (-n = --no-commit) 
git reset     # unstage the changes from the cherry-picked commit 
git add -p     # add the changes you do want 
git commit     # make the commit! 
+0

最初のステップは、このような意味ですか? git cherry-pick -n abz – budiantoip

+0

commit-idはshaコミットIDです。git logを使用して取得できます。 –

+0

私の知る限り、私の例によると、abzは正しいですか?それはちょうど私が理解しやすいようにするための単なる例です:) – budiantoip

関連する問題