This paper mainly records the detailed steps and basic usage of Git configuration under IDEA, which is convenient for beginners to master and use quickly.
preparation in advance
First you need to have a Github account, click here to register.
Next, you need to install git, click here to download it. Please refer to other online articles for specific installation steps, but describe more.
IDEA Configuration Git
Path to Git executableChoose the installation path of your Git, usually IDEA will automatically bring it out, or is it smarter, Click
TestTest whether the settings are successful.
GibHubMiddle Hosts Input
github.comAnd then click
Create API TokenEnter your GitHub account password, generate the corresponding Token, and click
At this point, the configuration of Git under IDEA has been completed.
Import into Version ControlCreate local warehouse
Then right-click on your project and select
GitThe basic operation can be carried out as follows:
For me, the use of Git under IDEA is not particularly useful, depending on personal preferences.