标签:card 提交 连接 ble 注解 div bug china inf
Fix issue #8976
git commit
上增加 -m <msg>
或 --message=<msg>
参数,而单独写提交信息一个不好的例子 git commit -m "Fix login bug"
一个推荐的 commit message 应该是这样:
Redirect user to the requested page after login https://trello.com/path/to/relevant/card Users were being redirected to the home page after login, which is less useful than redirecting to the page they had originally requested before being redirected to the login form. * Store requested path in a session variable * Redirect to the stored location after successfully logging in the user
常用type:
feat:新功能(feature)
update:更新
change:修改
fix:修补bug
docs:文档(documentation)
style: 格式(不影响代码运行的变动)
refactor:重构(即不是新增功能,也不是修改bug的代码变动)
test:增加测试
chore:构建过程或辅助工具的变动
Fix bug where user can‘t signup. [Bug #2873942] Users were unable to register if they hadn‘t visited the plans and pricing page because we expected that tracking information to exist for the logs we create after a user signs up. I fixed this by adding a check to the logger to ensure that if that information was not available we weren‘t trying to write it.
推荐格式:
头部(描述更新的内容)
//空行
内容详细描述
//空行
尾部(加上部分注解等)
标签:card 提交 连接 ble 注解 div bug china inf
原文地址:http://www.cnblogs.com/forfly/p/7640669.html