首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
Git Commit Message里的Author与Committer有什么区别?
andybest
·
2013-08-12 19:12:57 +08:00
· 5401 次点击
这是一个创建于 4076 天前的主题,其中的信息可能已经有所发展或是发生改变。
1。为什么要同时有Author与Committer?
2。如何为这两个字段设置不同的名字?
Committer
author
message
1 条回复
•
1970-01-01 08:00:00 +08:00
1
jjgod
2013-08-12 19:16:18 +08:00
2
1. Author 是 patch 的作者,Committer 是把 patch 应用到 repository 里的人 (很多项目限制只有少数人可以 apply patch,但大家都可以把 patch 发送给这些人)。
2. git commit --reset-author 或者 --author="Name" 可以设置 Author。committer 只能通过 commit 得到。
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5859 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 02:30
·
PVG 10:30
·
LAX 19:30
·
JFK 22:30
Developed with
CodeLauncher
♥ Do have faith in what you're doing.