Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
想问下,你们 git/svn 的 commit 是怎么写的?
LeungJZ
·
JZLeung
·
May 10, 2018
· 2262 views
This topic created in 3123 days ago, the information mentioned may be changed or developed.
我的是这样的,根据 add, update, fixed, remove 来作标题,但是又不知道需不需要在后面跟上其他东西。
git
svn
commit
remove
4 replies
HENQIGUAI
May 10, 2018
1
我一般 cd 到 main 目录,然后 svn -commit -m "",哈哈哈哈
JensenQi
May 10, 2018
2
git add .
git commit -m .
git push
jerryshao
May 10, 2018
3
在自己本地分支开发的时候想怎么写都写,最后 rebase 到主分支的时候,把所有的修改 squash 成一条 commit,然后用下面的模板做 commit message。
[issue_id] 简要说一下修改内容
具体说修改内容
ISSUE: 链接
CR: 链接
TEST: 链接
LeungJZ
OP
May 10, 2018
4
@
jerryshao
额,公司项目,但是放在个人的 gitlab 上。。。基本都在 master 分支开发。。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2236 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 02:23
·
PVG 10:23
·
LAX 18:23
·
JFK 21:23
♥ Do have faith in what you're doing.
❯