查看分支:git branch创建分支:git branch dev重命名分支:git branch -m dev dev1删除分支:git branch -d dev切换分支:git checkout dev合并分支(log中无合并痕迹):git merge dev合并分支(log中能看到合并痕迹 ...
分类:
其他好文 时间:
2017-05-05 00:51:12
阅读次数:
173
代码提交到了task4分支里面。 最主要的修改就是增加了括号的生成和用中缀表达式计算结果,栈虽然以前在数据结构中学到过,但是并没有具体的使用过,所以还是当做新知识学了一遍。用栈实现之前,我用递归写了一遍,逻辑太复杂了,而且局限性很大,所以就用栈重新写了一遍。从逻辑上栈比递归方便得多,而且用着也不复杂 ...
分类:
其他好文 时间:
2017-05-04 21:50:00
阅读次数:
141
有时候还有一个人不能从远程直接clone仓库或者说由于非常大,clone非常慢或其他原因。我们能够使用bundle命令将Git仓库打包,然后通过U盘或者是其他介质拷贝给他,这样他拿到打包好的仓库后能够unbundle成仓库,达到了共享的目的,这样有时候是非常方便的。 我们看看详细怎么做: 首先我们进 ...
分类:
其他好文 时间:
2017-05-04 16:13:24
阅读次数:
158
# Connect To Gerrit Server ssh -p 29418 gerritRoot@192.168.0.254 #Create Branch By SSH ssh -p 29418 review.example.com gerrit create-branch myproject ...
分类:
其他好文 时间:
2017-05-03 22:53:27
阅读次数:
225
1.pull所有branch for remote in `git branch -r `; do git branch --track $remote; done for remote in `git branch -r `; do git checkout $remote ; git pull; ...
分类:
其他好文 时间:
2017-05-02 23:43:00
阅读次数:
254
第一步:创建本地分支 点击右键选择TortoiseGit,选择Create Branch…,在Branch框中填写新分支的名称(若选中”switch to new branch”则直接转到新分支上,省去第二步),点击OK按钮: 第二步:通过“Switch/Checkout”切换到新创建的分支上,点击 ...
分类:
其他好文 时间:
2017-05-02 21:05:18
阅读次数:
148
使用git status命令可以得到以下结果$ git statusOn branch dev_getTicketCntYour branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local... ...
分类:
其他好文 时间:
2017-04-29 16:22:02
阅读次数:
5430
1. git 查看本地分支:git branch 2. git 查看所有分支:git branch -a 3. git 新建本地分支:git branch branchName 4. git 新建分支并切换: git checkout -b branchName 5. git 删除本地分支:git ...
分类:
其他好文 时间:
2017-04-27 00:37:52
阅读次数:
193
git branch 查看本地所有分支 git status 查看当前状态 git commit 提交 git branch -a 查看所有的分支 git branch -r 查看远程所有分支 git commit -am "init" 提交并且加注释 git remote add origin g ...
分类:
其他好文 时间:
2017-04-26 13:10:36
阅读次数:
117
从svn上下的项目,部署到tomcat 7.0.19 上, 并且配置的是jdk7. 启动时出现以下问题。 java.lang.VerifyError: Expecting a stackmap frame at branch target Location: com/genlot/loms/serv ...
分类:
其他好文 时间:
2017-04-25 11:40:16
阅读次数:
1208