Fight With Me!!!

导航

2016年4月5日 #

Unreachable catch block for IOException. This exception is never thrown from the try statement body

摘要: Unreachable catch block for IOException. This exception is never thrown from the try statement body 不可到达的 catch 块异常。try 中的语句,永远不会引发此异常 2 quick fixes a 阅读全文

posted @ 2016-04-05 16:09 nickTimer 阅读(2127) 评论(0) 推荐(0) 编辑

git fetch 拉取而不合并

摘要: 1.git fetch git fetch origin master:tmp git diff tmp git merge tmp git branch -d tmp 从远程获取最新的版本到本地的tmp分支上 之后再进行比较合并 2. git pull:相当于是从远程获取最新版本并merge到本地 阅读全文

posted @ 2016-04-05 11:19 nickTimer 阅读(1375) 评论(0) 推荐(0) 编辑

git 解决fatal: Not a git repository

摘要: 我用git add file添加文件时出现这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没有.git这样一个目录,解决办法如下: git init就可以了! 我用git add file添加 阅读全文

posted @ 2016-04-05 09:34 nickTimer 阅读(498) 评论(0) 推荐(0) 编辑