[user]
name=***
email=***@***.***
[core]
editor=vim
[color]
status=auto
branch=auto
diff=auto
ui=true
pager=true
[color"branch"]
current=yellowreverse
local=yellow
remote=green
[color"diff"]
meta=yellowbold
frag=magentabold
old=redbold
new=greenbold
[color"..
分类:
其他好文 时间:
2015-02-14 01:18:56
阅读次数:
356
当我们使用如下命令检出开发分支:gitcheckout-vdev然后再dev分支上gitpull时候经常报如下错误:HEADisnowat990a248Mergebranch‘dev‘ofgit.avlyun.org:userc/new-6xxintodev
Youaskedmetopullwithouttellingmewhichbranchyou
wanttomergewith,and‘branch.dev.merge‘in
yourconf..
分类:
其他好文 时间:
2015-02-12 16:26:22
阅读次数:
138
今天收到个需求,不做评论,我只呵呵,废话不多说,看script#!/bin/bash
i=$(svnlistsvn://*.*.*.*:9361/projectname|tail-2|head-1|cut-c8)
i=$[$i+1]
branch=‘branchname4.9.‘$i
svnmkdirsvn://*.*.*.*:9361/projectname/$branch-m“mkdir”
#svncopysvn://*.*.*.*:9361/pro..
分类:
其他好文 时间:
2015-02-12 14:13:01
阅读次数:
104
首先从远端版本库clone下来一个全新的库:git clone username@xxx:/xxx/xxx.git此时clone下来的,只是master分支,没有其他分支。查看分支:git branch #查看本地分支git branch -r #查看远端分支git branch -a #查看...
分类:
其他好文 时间:
2015-02-12 12:23:10
阅读次数:
120
使用git pull的时候收到以下信息:error: there are still refs under 'refs/remotes/origin/xxxx'From 10.1.25.57:yyyy/zzzz_server! [new branch] xxxxx -> origin/xxx (u....
分类:
其他好文 时间:
2015-02-11 20:23:32
阅读次数:
460
从history1分出来的A, B两个branchA上有一些更改,例如changeA2changeA1history1B上有一些更改,例如changeB2changeB1history1---------------------此时想把B branch上的改动merge到A branch,于是在A ...
分类:
其他好文 时间:
2015-02-11 00:24:39
阅读次数:
189
暴强的命令行git提交历史记录查询
虽然会一些git命令行的基本操作,但是偶尔不得不借助一些GUI的工具(SourceTree etc.)来查看git提交的history line,这样可以清楚地看到整个project的提交脉络(包括branch,tag,一些merge/rebase记录等)。
偶然间,在github上看到关于git的一条命令:
git log --oneline -...
分类:
其他好文 时间:
2015-02-09 18:32:46
阅读次数:
143
12096 The SetStack ComputerBackground from Wikipedia: “Set theory is a branch ofmathematics created principally by the German mathe-matician Georg Can...
分类:
其他好文 时间:
2015-02-06 09:23:02
阅读次数:
216
总公司 Head Office分公司 Branch Office营业部 Business Office人事部 Personnel Department人力资源部 Human Resources Department总务部 General Affairs Department财务部 General A...
分类:
其他好文 时间:
2015-02-05 20:03:09
阅读次数:
174
在做android开发时,必定会遇到多版本的开发,下面介绍一下具体实施步骤
SVN下目录介绍
branch 目录:存放支线副本,跟工程项目相关的各个工程版本分支,此目录下面的版本分支可以被修改合并。不是稳定的版本。
document 目录:跟工程项目相关的文档资料。
tag 目录:存放标签副本,跟项目相关的各个发布版本,一般在这个目录下的工程版本是稳定可用的,并且不做修改的。
trunk...
分类:
其他好文 时间:
2015-02-04 16:36:58
阅读次数:
203