idea的右上角只有commit按钮,而没有push按钮
打开File->Settings->Menus and Toolbars->Navigation Bar Toolbar->NavBarVcsGroup->VcsNavBarToolbarActions
File->Settings->Menus and Toolbars->Navigation Bar Toolbar->NavBarVcsGroup->VcsNavBarToolbarActions
展开之后,选择添加按钮+中的Add Action找到push(Main menu->VCS->Git->Push),找到之后,选择OK就可以了。
+
Add Action
Main menu->VCS->Git->Push
参考链接
https://www.jb51.net/article/204149.htm