Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在phpstorm你怎么做git pull --rebase?我似乎找不到这样做的选择。我希望这是默认行为,因为我们都在同一个分支上工作。
git pull --rebase
我正在做拉Version Control > Git > Pull Changes...。
Version Control > Git > Pull Changes...
只需使用Version Control -> Update Project动作。您可以在此处选择更新方式:通过合并(git pull)或通过变基(git pull --rebase)或通过当前分支的默认方式(默认为合并)。
Version Control -> Update Project
git pull
该操作还具有比拉取更多的功能:如果您有未提交的更改,它会存储/保存它们,并在更新后恢复它们。