Intellij idea 上傳專案到Github
阿新 • • 發佈:2018-11-02
參考資料:
1、http://blog.csdn.net/mr_rain/article/details/78565220
2、http://blog.csdn.net/autfish/article/details/52513465]
- 1、Intellij idea 新增Git版本控制
- 1)下載git(setting -> Git -> D:\Program Files\Git\cmd\git.exe)
- 2)VCS->import into Version Control -> Share project on GitHub (Remote name:origin)
- 2、Intellij idea 解除Git版本控制
- 1)setting -> version Control -> 移除專案
- 2)刪除.idea .git
- 3、Github 刪除專案、刪除檔案
- 1)專案-setting 最下方 危險區有刪除功能
- 2)開啟要刪除的檔案,有刪除圖示
- 4、新增Branch
- 1)新建 :Git -> Repository -> Branches
- 2)上傳 :Git -> Repository -> Push
- 3)Intellij 右下角可切換branch