摘要: 使用码云或者github创建项目的时候现在都会自动生成.gitignore文件,一定要注意先pull –rebase origin master 下来后在git add,也就是说先把.gitignore文件同步到本地中,在git add,否则.gitignore 文件... 阅读全文
posted @ 2018-08-15 23:33 wei1 阅读(1637) 评论(0) 推荐(0) 编辑
摘要: 参考:https://stackoverflow.com/questions/24114676/git-error-failed-to-push-some-refs-to在码云新建了一个项目后生成有readme.md文件在push本地项目是出现一下错误$ git ... 阅读全文
posted @ 2018-08-15 23:04 wei1 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 比不重复的多了一段代码,if (i!=startIndex&&nums[i]==nums[i-1]){ continue; }有点难懂,记一下import org.junit.Test;import java.u... 阅读全文
posted @ 2018-08-15 01:19 wei1 阅读(178) 评论(0) 推荐(0) 编辑