Preface
The author needed to rebind Git during the process of reinstalling IDEA, and found that the push key disappeared during the code submission process, so I will record the detailed process of configuring the push key in Git in this article.
Note that the author's current IDEA version is 2019, which may be different from readers, but the operating ideas are similar.
Steps
Find File and click the Setting button to enter the setting page.
Go to Appearance & Behavior and find the Menus and Toolbars option
Select VcsNavBarToobarActions under NavBarVcsGroup under Navigation Bar Toolbar
Click Rollback, go to the top and select Add Action
A small window will pop up at this time. Select Git under Version Control, find Push under Repository, and click OK to confirm.
At this time, the push button will appear in the navigation bar of Idea, and we can click to submit the code to the remote warehouse.