随笔分类 -  Git

摘要:在 Git 中,你可以使用 .gitignore 文件来指定哪些文件或目录应该被忽略,不加入版本控制。如果你想忽略 Source/UI/fout/unpackage/ 目录下的所有文件夹和文件,你可以在 .gitignore 文件中添加以下规则: Source/UI/fout/unpackage/* 阅读全文
posted @ 2024-10-26 20:23 三瑞 阅读(318) 评论(0) 推荐(0) 编辑
摘要:注意:先备份 --查询最近提交的hash ID(查找上一个版本的) git log git reset --hard hash ID(上一个版本的) 阅读全文
posted @ 2024-08-14 21:19 三瑞 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-06-05 09:41 三瑞 阅读(0) 评论(0) 推荐(0) 编辑
摘要:git rm 10编码/Src/xxx/bin/Debug/xxx.pdberror: the following file has local modifications:10编码/Src/xxx/bin/Debug/xxx.pdb(use --cached to keep the file, o 阅读全文
posted @ 2021-05-23 13:35 三瑞 阅读(153) 评论(0) 推荐(0) 编辑
摘要:当使用 gitblit.cmd 启动失败 1、原因就是我服务器的内网ip变化导致 方法:./data/gitblit.properties 文件中; server.httpBindInterface=xxx.xxx.x.xx; 阅读全文
posted @ 2021-05-16 11:04 三瑞 阅读(885) 评论(0) 推荐(0) 编辑
摘要:1、git rm -r --cached 要忽略的文件 (如: git rm -r --cahced build/*, 如修改列表中的内容全部是不需要的, 那么你可以使用最最简单的命令搞定git rm -r --cached .) 2、将要忽略的文件添加到.gitignore文件中去(如果是目录的话 阅读全文
posted @ 2020-12-22 14:12 三瑞 阅读(149) 评论(0) 推荐(0) 编辑
摘要:问题如题! 能使用的必要条件是: 1、创建的仓库 Code 中 必须 有 README.md 文件,内容自定 2、设置模板在仓库中 Settings -->GitHub Pages -->Chang theme 设置后会在Code 根目录生成一个 _config.yml 文件,添加两个选择 阅读全文
posted @ 2018-11-10 09:46 三瑞 阅读(7586) 评论(2) 推荐(0) 编辑

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