15
15
* http://svn.jundie.net/
16
16
* http://www.svnchina.com/index.php
17
17
* http://code.svnspot.com/
18
- * <del >http://code.taobao.org/ </del > (SVN)
19
- * <del >http://code.google.com/ </del >
20
- * <del >http://svn.coollittlethings.com/index.php </del >
21
- * <del >http://www.svnhost.cn/ </del > (SVN)
22
- * <del >http://www.chinasvn.com </del > (SVN)
18
+
19
+ ## 代码托管网站(已废弃)
20
+
21
+ * < http://code.taobao.org/ > (SVN)
22
+ * < http://code.google.com/ >
23
+ * < http://svn.coollittlethings.com/index.php >
24
+ * < http://www.svnhost.cn/ > (SVN)
25
+ * < http://www.chinasvn.com > (SVN)
23
26
24
27
## SVN
25
28
49
52
* SVN版本库无损迁移与自动备份(一):http://www.cnblogs.com/springside-example/archive/2011/11/30/2530176.html
50
53
* SVN版本库无损迁移与自动备份(二):http://www.cnblogs.com/springside-example/archive/2011/11/30/2530174.html
51
54
* SVN+Apache域用户认证配置方法_Windows(转,重新排版,部分内容更新优化): http://www.cnblogs.com/jiangxinnju/p/5906377.html
55
+ * Use the SVN command-line tool: < http://www.cnblogs.com/jiangxinnju/p/4781259.html >
52
56
* TortoiseSVN,TortoiseGit修改差异查看器为BeyondCompare: http://blog.csdn.net/sanfye/article/details/48028879
53
57
* SVN的钩子--限制强制写日志(log): < http://duchengjiu.iteye.com/blog/1739694 >
54
58
* svn ignore 的用法(忽略文件及目录): < http://blog.csdn.net/yhl27/article/details/24318001 >
55
59
* SVN版本冲突,COMMIT时出现.MINE等文件: < https://www.cnblogs.com/xiezhengcai/archive/2013/06/06/3120931.html >
56
60
57
- ### 简单教程(详细说明参考前面的教程地址,此处仅为了速查速用)
58
-
59
- 以Win32SVN为例,在前面所列的地址中下载Win32SVN客户端并进行安装。安装好后,bin目录下就是相应程序了。通过添加环境变量的方式,把bin目录添加到path。启动cmd,敲入 svn help 以确认是否安装成功。现在可以找到你的代码,做checkout了。在commit代码的过程中,经常会出现的一个问题是:
60
-
61
- svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found
62
-
63
- 这表示你的系统,没有指定svn客户端通过什么样的文本编辑器来写提交的注释。我们添加环境变量,SVN_EDITOR的值为notepad。再次svn ci 代码。notepad弹出了,写完注释保存。代码提交!
64
-
65
- 注册环境变量SVN_EDITOR为"E:\Program Files\Vim\vim71\gvim.exe",结果在svn ci的时候,出现错误:
66
-
67
- 'E:\Program' 不是内部或外部命令,也不是可运行的程序或批处理文件。
68
- svn: 提交失败(细节如下):
69
- svn: system('E:\Program Files\Vim\vim71\gvim.exe svn-commit.tmp') 返回 1
70
-
71
- 把SVN_EDITOR改为"gvim.exe",并且在path中添加路径"E:\Program Files\Vim\vim71",这样就可以在提交的时候用vim编写注释了。
72
-
73
- 如果你不知道命令怎么用svn命令,可通过如下方式查询:
74
-
75
- svn help
76
-
77
- 知道了子命令,但是不知道子命令的用法,还可以查询:
78
-
79
- svn help ci
80
-
81
- 导入项目
82
-
83
- svn import http://svn.chinasvn.com:82/pthread --message "Start project"
84
-
85
- 导出项目
86
-
87
- svn checkout http://svn.chinasvn.com:82/pthread
88
-
89
- 采用 export 的方式来导出一份“干净”的项目
90
-
91
- svn export http://svn.chinasvn.com:82/pthread pthread
92
-
93
- 为失败的事务清场
94
-
95
- svn cleanup
96
-
97
- 在本地进行代码修改,检查修改状态
98
-
99
- svn status -v
100
- svn diff
101
-
102
- 更新(update)服务器数据到本地
103
-
104
- svn update directory
105
- svn update file
106
-
107
- 增加(add)本地数据到服务器
108
-
109
- svn add file.c
110
- svn add dir
111
-
112
- 取消svn add
113
-
114
- svn revert --recursive dir
115
-
116
- 对文件进行改名和删除
117
-
118
- svn mv b.c bb.c
119
- svn rm d.c
120
- svn rm dir --keep-local
121
-
122
- 提交(commit)本地文档到服务器
123
-
124
- svn commit
125
- svn ci
126
- svn ci -m "commit"
127
-
128
- 查看日志
129
-
130
- svn log directory
131
- svn log file
132
-
133
61
### SVN更新失败,提示locked
134
62
135
63
产生这种情况大多是因为上次svn命令执行失败且被锁定了,需要删除文件夹中的lock文件,即可解锁。这里介绍3种方法:
165
93
* choosealicense: http://choosealicense.com/
166
94
167
95
* Git Community Book 中文版:< http://gitbook.liuhui998.com/index.html >
96
+ * 分支管理策略: < https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013758410364457b9e3d821f4244beb0fd69c61a185ae0000 >
97
+ * Bug分支: < https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137602359178794d966923e5c4134bc8bf98dfb03aea3000 >
98
+ * git patch: Version Control with Git 2nd Edition[ Git 版本控制管理 第2版] CHAPTER 14 Patches
168
99
* Permanently remove files and folders from Git repo:http://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository
169
100
* git/github初级运用自如:http://www.cnblogs.com/fnng/archive/2012/01/07/2315685.html
170
101
* windows中使用Git工具连接GitHub(配置篇):http://www.cnblogs.com/sorex/archive/2011/08/10/2132359.html
186
117
* What are the git concepts of HEAD, master, origin? < https://stackoverflow.com/questions/8196544/what-are-the-git-concepts-of-head-master-origin >
187
118
* How do I make Git use the editor of my choice for commits?: < https://stackoverflow.com/questions/2596805/how-do-i-make-git-use-the-editor-of-my-choice-for-commits >
188
119
* warning: push.default is unset的解决方案: < http://blog.csdn.net/jrainbow/article/details/19338525 >
189
- * 分支管理策略: < https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013758410364457b9e3d821f4244beb0fd69c61a185ae0000 >
190
- * Bug分支: < https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137602359178794d966923e5c4134bc8bf98dfb03aea3000 >
191
120
* 简单对比git pull和git pull --rebase的使用: < https://www.cnblogs.com/kevingrace/p/5896706.html >
121
+ * 使用git rebase合并多次commit: < http://blog.csdn.net/yangcs2009/article/details/47166361 >
122
+ * git中将多次commit合并为一次commit: < http://blog.csdn.net/itfootball/article/details/44037181 >
123
+ * Resolving a merge conflict on gerrit: < https://www.entropywins.wtf/blog/2013/07/01/resolving-a-merge-conflict-on-gerrit/ >
124
+ * CHERRY-PICKING SPECIFIC COMMITS FROM ANOTHER BRANCH: < https://www.devroom.io/2010/06/10/cherry-picking-specific-commits-from-another-branch/ >
192
125
193
126
### git init 与 git init --bare
194
127
@@ -208,12 +141,12 @@ git push origin master:b1
208
141
209
142
## Mercurial
210
143
211
- * Mercurial:https://mercurial.selenic.com/
212
- * mercurialeclipse: https://bitbucket.org/mercurialeclipse/main/wiki/Home
213
- * tortoisehg:http://tortoisehg.bitbucket.org/
144
+ * Mercurial:< https://mercurial.selenic.com/ >
145
+ * mercurialeclipse: < https://bitbucket.org/mercurialeclipse/main/wiki/Home >
146
+ * tortoisehg:< http://tortoisehg.bitbucket.org/ >
214
147
215
148
## Others
216
149
217
- * perforce: https://www.perforce.com/
218
- * CVS:http://www.nongnu.org/cvs/
219
- * bazaar:http://bazaar.canonical.com/en/
150
+ * perforce: < https://www.perforce.com/ >
151
+ * CVS:< http://www.nongnu.org/cvs/ >
152
+ * bazaar:< http://bazaar.canonical.com/en/ >
0 commit comments