配置
配置Git
设置------Version Control------Git------Path to Git executab【D:\Git\Git\bin\git.exe】

创建Git查看
最上面VCS------Create Git Repository

添加忽略项
安装ignore插件:设置------plugins------搜索ignore
新建ignore文件:右击项目------new------.ignore file------.ignore file(Git)
Created by .ignore support plugin (hsz.mobi)
.gitignore
.idea / *
HelloWorld.iml
target

基础操作
将文件加入暂存区
右击项目------Git---------Add

提交文件,并编写提交信息
右击项目------Git---------Commit Directory

推送至远程仓
右击项目------Git---------Repository------Push,填写远程仓库url地址

编写提交信息
分支操作
创建分支
VCS------Git------Branches------New Branch

切换分支
右击项目------Git---------Repository------Branches

分支合并
右击项目------Git---------Repository------Merge Changes