随笔分类 -  git

摘要:申请token 在.git/config文件中修改 修改前: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = 阅读全文
posted @ 2022-09-25 17:32 Ajanuw 阅读(892) 评论(0) 推荐(0)
摘要:生成 Git 提交信息 1. 查看文件变更 2. 使用中文生成 `git commit` 需要的提交消息 3. 生成一个英文的分支名称。 - 不要运行`git add` - 不要运行`git commit` ## Git Commit 消息提交规范 一、提交格式 <type>(<scope>): < 阅读全文
posted @ 2022-03-28 09:23 Ajanuw 阅读(148) 评论(0) 推荐(0)
摘要:.gitignore: * # include !.gitignore !a.txt !dir2 阅读全文
posted @ 2020-08-28 12:29 Ajanuw 阅读(486) 评论(0) 推荐(0)
摘要:# 忽略所有的 .a 文件 *.a # 但跟踪所有的 lib.a,即便你在前面忽略了 .a 文件 !lib.a # 只忽略当前目录下的 TODO 文件,而不忽略 subdir/TODO /TODO # 忽略任何目录下名为 build 的文件夹 build/ # 忽略 doc/notes.txt,但不 阅读全文
posted @ 2018-06-16 16:00 Ajanuw 阅读(58) 评论(0) 推荐(0)
摘要:"文档" 管理全部用户的公匙 在服务器上创建一个名叫 git 的用户 创建仓库 clone 仓库 在pro.git下 git log 就能看见提交的记录 安全问题, 使用git shell ssh git@192.168.32.128 // 这时只要这样就能登录到服务器 cat /etc/shell 阅读全文
posted @ 2018-06-16 09:23 Ajanuw 阅读(796) 评论(0) 推荐(0)
摘要:"文档" 创建仓库 克隆仓库,修改,提交 阅读全文
posted @ 2018-06-15 15:22 Ajanuw 阅读(199) 评论(0) 推荐(0)