2020版IDEA整合GitHub
1.前提
- 電腦安裝好Git
- 須要有個已經註冊的GitHub賬號
2.在IDEA中設置Git
2.1 確保IDEA安裝Git GitHub插件
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
2.2 在IDEA中設置Git,在File–>Setting->Version Control–>Git–>Path to Git executable選擇你的git安裝後的git.exe文件,而後點擊Test,測試是否設置成功
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
2.3 在IDEA中設置GitHub,File–>Setting->Version Control–>GibHub
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
2.4 受權GitHub
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
2.5 受權成功
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.使用
3.1 準備從GitHub倉庫clone
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.2 clone
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.3 IDEA中Git操做位置
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.3 修改項目內容
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.4 commit
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.5 push
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
3.6 提交成功
![在這裏插入圖片描述](http://static.javashuo.com/static/loading.gif)
歡迎關注本站公眾號,獲取更多信息