Replies: 2 comments 10 replies
-
|
git config ー-global pull.rebase falseをするとコミットできるようになる メモ |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
「git config --global pull.rebase false をするとコミットできるようになる」という記述は、少し誤解があるようです。 「git config --global pull.rebase false」コマンドは、コミットを行う能力に直接影響しません。 これは単に「git pull」コマンドの動作を変更するだけです。 pull.rebase を false (Git のデフォルト設定) に設定すると、git pull を実行すると、git はリモート追跡ブランチから現在のローカル ブランチに変更をマージします。 コミットできるかできないかは、「pull.rebase」が「true」であるか「false」であるかには影響されません。 変更がコミット用にステージングされていれば、ローカル リポジトリで「git commit」を使用していつでもコミットできます。 この構成設定は、リモート リポジトリから変更をプルし、それらの変更をローカル ブランチと結合するときの動作にのみ影響し、コミットを行うアクションには影響しません。 |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
BookTowerの改善点やバグ報告、アイデア設計
Beta Was this translation helpful? Give feedback.
All reactions