版本控制
git、svn
pencejz
踏踏实实做人,认认真真做事
展开
-
SVN项目检出之断点续传
首先clear up时务必勾选“break locks”然后SVN update即可。参考:https://blog.csdn.net/kerwinJu/article/details/71514758转载 2018-07-11 23:26:52 · 2722 阅读 · 0 评论 -
GIT在cmd和VSCode中使用
1、git在cmd中使用现象:打开windows系统的cmd,执行git命令老是报错说“git不是内部或外部命令,也不是可运行的程序”。解决:1、找到你电脑上的git安装中bin的路径,如:E:\Git\Git\bin;同时,找到git安装路径中git-core的位置,如:E:\Git\Git\libexec\git-core;2、配置系统变量。右键“计算机”->“属性”->“高级系统...转载 2018-05-13 15:28:07 · 2840 阅读 · 0 评论 -
git基础操作
版本库基本操作git init 创建版本库,默认本地master分支git diff filename 对比查看修改前后的文件变化git diff head -- filename 查看版本库与当前版本文件区别git rm filename ...原创 2018-07-28 15:57:18 · 363 阅读 · 0 评论 -
GIT的SSH签名通道设置
单账号配置1、安装好Git之后,打开Git Bash查询密钥:cat ~/.ssh/id_rsa.pub生成新的密钥对:ssh-keygen -t rsa -C "[email protected]" -b 40962、将公钥.ssh/id_rsa.pub中的内容添加到SSH Keys中,并设置一个title3、打开git bash 测试连接:ssh -T git@...原创 2018-07-28 16:34:29 · 1302 阅读 · 0 评论 -
git push之后回滚(撤销)代码
https://blog.csdn.net/qq_36460164/article/details/79857431 感谢作者分享!!!转载 2018-08-01 22:20:19 · 3058 阅读 · 0 评论 -
github上fork了别人的项目后,再同步更新别人的提交
https://blog.csdn.net/qq1332479771/article/details/56087333 感谢博主分享!!!转载 2018-08-02 00:48:51 · 167 阅读 · 1 评论 -
git bash可以pull,使用tortoiseGit进行pull时 报错Could not read from remote repository
背景:我首先配置了sshKeys,通过git bash命令行模式,可以正常pull,使用tortoiseGit工具,进行pull,报错Could not read from remote repository处理:找到tortoiseGit工具的设置里面的URL和Push URL 之前使用的是ssh协议的地址,现在改成http协议地址就可以了。...原创 2018-10-19 10:40:28 · 3156 阅读 · 0 评论