随笔分类 -  Git

摘要:git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch upload/*' --prune-empty --tag-name-filter cat -- --all git push origin mast 阅读全文
posted @ 2018-03-15 09:33 dcrenl 阅读(627) 评论(0) 推荐(0) 编辑
摘要:生成的RSA公钥与密钥目录: C:\Users\***\.ssh 系统配置文件路径 C:\ProgramData\Git\ C:\Program Files\Git\mingw64\etc 全局配置文件路径 C:\Users\***\.gitconfig 局部配置文件路径 项目文件夹\.git\co 阅读全文
posted @ 2018-03-15 09:31 dcrenl 阅读(1068) 评论(0) 推荐(0) 编辑
摘要:1、vi & vim 有两种工作模式: (1) 命令模式:接受、执行 vi & vim 操作命令的模式,打开文件后的默认模式; (2) 编辑模式:对打开的文件内容进行 增、删、改 操作的模式; #在编辑模式下按下 ESC 键,回退到命令模式。 2、创建、打开文件:$ vi [filename] (1 阅读全文
posted @ 2018-03-15 09:30 dcrenl 阅读(1662) 评论(0) 推荐(0) 编辑
摘要:1、vi & vim 有两种工作模式: (1) 命令模式:接受、执行 vi & vim 操作命令的模式,打开文件后的默认模式; (2) 编辑模式:对打开的文件内容进行 增、删、改 操作的模式; #在编辑模式下按下 ESC 键,回退到命令模式。 2、创建、打开文件:$ vi [filename] (1 阅读全文
posted @ 2017-09-15 08:52 dcrenl 阅读(560) 评论(0) 推荐(0) 编辑
摘要:push的时候提示fatal: refusing to merge unrelated histories 假如我们的源是origin,分支是master,那么我们 需要这样写git pull origin master allow-unrelated-histories 提示: hint: Upd 阅读全文
posted @ 2017-08-30 16:35 dcrenl 阅读(526) 评论(0) 推荐(0) 编辑
摘要:Bonobo Git Server 下载地址: https://bonobogitserver.com/ 安装方法:https://bonobogitserver.com/install/ 配置简单,基于.net平台的MVC网站 阅读全文
posted @ 2017-08-04 13:46 dcrenl 阅读(529) 评论(0) 推荐(0) 编辑
摘要:git fetch --all git reset --hard origin/master 阅读全文
posted @ 2017-07-21 16:12 dcrenl 阅读(6565) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示