The graphic teaches you how IntelliJ IDEA binds git and uploads to Github
Tip: Example IntelliJ IDEA version 2020.2
Article Directory
Preface
1. How does IntelliJ IDEA bind git?
2. How does IntelliJ IDEA upload to GitHub?
1. How does IntelliJ IDEA bind git?
Steps for usage
1. Download and install local git: https://git-scm.com/downloads
After the installation is complete, the desktop right click will appear, indicating that the installation is complete.
2. Then open our IntelliJ IDEA
3. Click File->Settings
4. Search git in the search bar and click.
5. Here select the cmd\git.exe file in your Git installation directory
6. Log in to your GitHub
two,
How does IntelliJ IDEA upload to GitHub?
Steps for usage
1. Create a local warehouse
VCS→Import into Version Control→Create Git Repository
Pay attention to observation: At this time, the red name of your project file indicates that the file has not been added to the local warehouse.
2. Add your project to the local warehouse.
At this point, you will find that the color of the file in your project is programmed to green to indicate that the file has been added to the temporary storage area
. Submit the project to the local warehouse
3. Push your project to the remote warehouse
Three. Summary
1. Download and install local git: https://git-scm.com/downloads
2. In IntelliJ IDEA, select the cmd\git.exe file in your Git installation directory
3. Log in to your GitHub and bind it
4.. Create Local warehouse
5. Bind your remote warehouse
6. Push your project to the remote warehouse