git开发中的使用
1.idea设置git忽略文件
.gitignore文件的区别:.gitignore文件会在云端忽略;而该操作只会在本地提交时忽略所产生的改变
2.idea撤销本地git提交
hard:直接回滚不保存代码 mixed:回滚保存代码,保留git文件 soft:回滚保存代码,还原为非git文件
tips:云端回滚需要加入:命令行:git -push -f
4.IDEA中复制git提交到当前分支的方法(double commit to different branches)
6.git Authentication failed for 的解决办法
8.还有就是基本的push 、pull 、checkout