git branch不带参数:列出本地已经存在的分支,并且在当前分支的前面加“*”号标记git branch -r列出远程分支git branchgit branch不带参数:列出本地已经存在的分支,并且在当前分支的前面加“*”号标记,例如: #git branch* masternewbranch...
分类:
其他好文 时间:
2014-08-25 22:46:04
阅读次数:
305
git也算中等熟练了,对其哲学也明白。但是svn一直半桶水。上网搜索了几篇svn的好文,做一下总结:《svn分支开发与主干合并(branch & merge) 》http://blog.csdn.net/bbirdsky/article/details/24620155TortoiseSVN图形操作...
分类:
其他好文 时间:
2014-08-25 20:58:04
阅读次数:
190
Description
Combinatorics is a branch of mathematics chiefly concerned with counting discrete objects. For instance, how many ways can you pick two people out of a crowd of
n people? Into how many...
分类:
其他好文 时间:
2014-08-23 20:24:01
阅读次数:
317
如果把远程的分支merge到本地:
点击merge后,然后选择远程的branch进行merge
如果把远程版本my_new_branchmerge到mater
如果把远程版本my_new_branch2 merge到远程版本my_new_branch
a)默认...
分类:
其他好文 时间:
2014-08-20 19:40:02
阅读次数:
321
dom4j解析中的几个对象node --branch --document --element --commment --attribute --textbranch --document --elementjaxp解析中的几个对象node --document --elemen...
分类:
其他好文 时间:
2014-08-20 15:50:02
阅读次数:
175
1.背景 最早用github的时候,我傻傻的问舍友大神,git里面的branch是干什么的,他用了很直白的解释,我至今还记得。“branch就是你可以自己建立一个分支,随便乱搞而不影响整个项目”。git分支应该是git最nb的特色吧,分支的建立和合并都十分方便。 大体的原理是这样的(图借用progit),比如说我们有一个master,还有一个分支是...
分类:
其他好文 时间:
2014-08-20 12:36:12
阅读次数:
251
由于以前一直是在用svn,到狼厂,大家都用Git。哥的开发环境:IntelliJ
说说简单的操作过程吧。
1.检出Git代码库
cd到指定目录
git clone http://..../android.git
clone远程的代码到本地
2.git branch -r
展示该Git库下的所有branch
3.git checkout -b master_3.0...
分类:
其他好文 时间:
2014-08-18 16:30:43
阅读次数:
214
一、branch1、git branch列出本地所有分支,并且在当前分支前加*号2、列出远程分支3、列出本地分支和远程分支4、创建一个新的分支5、重命名分支git branch -m | -M oldbranch newbranch 重命名分支,如果newbranch名字分支已经存在,则需要使用-M...
分类:
其他好文 时间:
2014-08-18 12:20:44
阅读次数:
176
git add [commit file list]将已经修改的代码添加索引git commit -m [commit message]将已经索引的代码修改提交至本地的库git push origin [branch_name]将分支 branch_name 的代码推送至服务器git pull or...
分类:
其他好文 时间:
2014-08-16 22:24:31
阅读次数:
269
Modelsim代码覆盖率功能Codecoverage,能报告出statement(语句)、branch(分支)、condition(条件)、expression(表达)、toggle(信号翻转)、fsm(有限状态机)等多种覆盖率情况。1、编译选项(compileoption):在Modelsim的...
分类:
其他好文 时间:
2014-08-16 11:07:40
阅读次数:
444