In the registered github later, we can submit code to a remote repository. This article shows you how to interact with github in the idea in order to complete the code version management.
1 systems, software and prerequisite constraints
- Registration github, skillfully using the command line
https://www.jianshu.com/p/b7998722c61f - idea 2018.1
https://www.jianshu.com/p/1ad292812ab1
2 operation
2.1 Remote Export Warehouse Code
Note: The author's remote warehouse address https://github.com/ruili2006/testgithub.git , the reader is set according to the actual situation.
Note that the author remote repository project is not a formal project, it will be some more interface.
2.2 commit code
123.txt modify the content of submitted as follows:
2.3 commit log and view results
2.4 update code
123.txt modified directly on github website
to update the code as follows in the idea:
The above is the process of code maintenance in the idea of using github.