zhougong

 

2018年7月6日

内部类

摘要: 内部类可以随心所欲访问外部类的方法和变量,外部类访问内部类必须new出内部类。若内部类方法和外部类方法同名,必须外部类.this.func()来进行访问。上述注意,若不知道,则会发生循环调用内部类导致堆栈溢出。 阅读全文

posted @ 2018-07-06 16:01 zhougong 阅读(108) 评论(0) 推荐(0) 编辑

Your branch and remoteBranchName have diverged solution

摘要: (zhuan)git pull时解决分支分叉(branch diverged)问题 git pull时出现分支冲突(branch diverged) $ git status # On branch feature/worker-interface # Your branch and 'origin 阅读全文

posted @ 2018-07-06 15:12 zhougong 阅读(230) 评论(0) 推荐(0) 编辑

repo

摘要: repo init -b remoteBranchName repo sync repo start localBranchName --all 整体切分支 if error is tagger clober:solution repo sync --no-tags 阅读全文

posted @ 2018-07-06 14:40 zhougong 阅读(175) 评论(0) 推荐(0) 编辑

导航