Git 修改 commit 留言
Git About 170 wordsamend
只能修改最新一次的commit
,本地无commit
则修改线上的最新一次commit
的留言。
留言内容使用双引号括起来。
git commit --amend -m "this is new one"
注意
修改后会在本地生成一次新的commit
,提交时间为上次commit
的时间,但是commit version
会变为最新的。
Views: 2,634 · Posted: 2021-03-26
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Today On History
- Arthas 使用 logger 不停机更新 Spring Boot logback 日志等级 Views: 4,106 · Posted: 2021-04-25
- 使用 MyBatis 注解接收 PostgreSQL 的 returning 结果 Views: 5,327 · Posted: 2020-04-25
- Elasticsearch 短语搜索 query->match_phrase Views: 2,967 · Posted: 2019-04-25
- Elasticsearch 全文搜索 query->match Views: 1,694 · Posted: 2019-04-25
- Elasticsearch 使用 filter 和 range 过滤器搜索 Views: 3,218 · Posted: 2019-04-25
- Elasticsearch 使用查询表达式搜索 Views: 2,718 · Posted: 2019-04-25
- Elasticsearch 出现 circuit_breaking_exception 异常 Views: 16,119 · Posted: 2019-04-25
- Elasticsearch 轻量搜索 _search 和 q= Views: 3,835 · Posted: 2019-04-25
- Elasticsearch 检索文档 GET Views: 1,904 · Posted: 2019-04-25
- Elasticsearch GET/PUT/DELETE/HEAD 指令 Views: 2,328 · Posted: 2019-04-25
- Elasticsearch 插入数据 PUT Views: 3,200 · Posted: 2019-04-25
- Elasticsearch 获取记录总数 _count Views: 11,050 · Posted: 2019-04-25
- Elasticsearch 使用 RESTful API 进行通信 Views: 2,008 · Posted: 2019-04-25
- Elasticsearch 监控运行状态 Views: 2,510 · Posted: 2019-04-25
- Windows 使用 curl Views: 2,687 · Posted: 2019-04-25
- Elasticsearch 9200 端口和 9300 端口区别 Views: 4,382 · Posted: 2019-04-25
- Java jdbc 批处理 rewriteBatchedStatements=true Views: 3,169 · Posted: 2019-04-25
- Git 合并两个分支 Views: 2,443 · Posted: 2019-04-25
- Elasticsearch 安装中文分词器 ik 插件 Views: 2,512 · Posted: 2019-04-25
Browsing
Refresh
Loading...
- MySQL ERROR 1193 (HY000): Unknown system variable 'validate_password_policy' Views: 7010
- Vue 页面切换时弹出确认框 Views: 3813
- Android VideoView 黑屏处理 Views: 6177
- GitHub 搜索技巧 Views: 1729
- Spring Boot 解决 CORS 跨域问题 Views: 5686
- Java 语法糖 - 增强 for 循环 Views: 1395
- 使用 ffmpeg 转换 m4a 为 mp3 Views: 9035
- Kubernetes 设置默认 namespace Views: 1246
- Docker 部署 Alpine Linux Views: 1017
- Android SharedPreferences 工具类 Views: 3818