git notes的使用
Git Notes 使用
2023-09-11 14:16:48 时间
1. 获取notes
2. 设置notes
2.1 git config --add core.notesRef refs/notes/{name} (需要注意替换name)
2.2 export GIT_NOTES_REF=refs/notes/{name} (需要注意替换name)
3. 添加notes
git notes add <commit-id>
5. 同步notes
git push origin refs/notes/{name}
6. 查看notes
git log -p -g refs/notes/{name}
相关文章
- Git将已有的代码库提交到远程新创建的代码库中
- [Git] Git fetch和git pull的区别
- [GIT] Git 工作流程(Git flow, Github flow flow, Git lab flow)
- git提交到远程虚拟机
- [Practical Git] Show who changed a line last with git blame
- [Practical Git] Filter commit history with git log arguments
- Git学习笔记
- Git 版本控制-2 使用技巧 快捷操作 [MD]
- 带着历史提交记录迁移git仓库
- 怎么正确的回滚git的代码?
- git使用简单指南
- [Practical Git] Configure global settings with git config
- [Practical Git] Clean up commits with git rebase
- 详解Git工作区、暂存区、历史记录区以及git reset、git revert、git checkout等撤销命令的区别
- 从git中删除 .idea 目录
- Atitit git 使用法v2 目录 1. Git客户端工具1 1.1. Tortoisegit git gui 图形化工具。。1 1.2. Ide中的git插件(eclipse idea
- git add . 和 git add * 区别
- 深入理解Git的实现原理
- 笔记:使用源代码在 Centos 7 安装 Git 2
- Git知识总览(四) git分支管理之rebase 以及 cherry-pick相关操作
- Git分支创建命令
- Git的fatal: Not a git repository (or any parent up to mount point /home)
- 【Git技巧】第十篇 解决每次git clone都需要输入账号密码
- 【Git技巧】第七篇 git分区原理(超级详细)
- 【Git技巧】第六篇 git常用命令速查表
- 【代码管理】Git自动更新下载的仓库