PyCharm:如何使commit + push默认值?

问题描述 投票:-1回答:1

我非常懒惰,我希望始终立即推动我的提交。

是否有一种方法可以使commit + push为默认值?我想使用尽可能少的击键。

pycharm
1个回答
0
投票

我认为这是您的问题的答案(基于PhpStorm:]

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360002172100-Set-Commit-and-Push-as-default-button

不幸的是,没有选项可以更改按钮的默认行为。

但是,您可能希望通过“设置-外观和行为-外观|窗口选项->允许合并对话框上的按钮来禁用按钮分组。”

在这种情况下,您将有一个单独的按钮,用于“ Commit and Push”。

作为一种选择,您可以使用键盘快捷键(在Windows上为Ctrl + Alt + K)。

在MacOS上,键盘快捷键是Shift + Command + K。

我希望这会有所帮助(PyCharm Professional 2019.3)。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.