Configure Git's Push key in IDEA

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.

Insert image description here

Go to Appearance & Behavior and find the Menus and Toolbars option

Insert image description here

Select VcsNavBarToobarActions under NavBarVcsGroup under Navigation Bar Toolbar

Insert image description here

Click Rollback, go to the top and select Add Action

Insert image description here

A small window will pop up at this time. Select Git under Version Control, find Push under Repository, and click OK to confirm.

Insert image description here

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.

Insert image description here

Guess you like

Origin blog.csdn.net/shark_chili3007/article/details/107701005