English 中文(简体)
你用什么风格来表达你们的信息? 技术或特质? [闭门]
原标题:Which style do you use for your commit messages? Technical or feature-based? [closed]
Closed. This question is off-topic. It is not currently accepting answers.

Closed 11 years ago.

请允许我说,你正在从事某种类型的网络应用。 这里是用于同一改动的2种不同版本的承诺信息。

  1. Redirect user to user_profile for public controllers -or- Restrict logged in user acces to public controllers
  2. Add require_guest before filter to necessary controllers

第一项解释是这一变化的结果,第二项基本解释是你如何实现这一变化,或你已经改变。

因此,你们喜欢什么? 以及为什么?

最佳回答

DRY 适用于承诺信息,因此不必重复你从法典/diff中看到的任何内容。

而是创造环境: 凡是提到造成变动的机票号码,就说明为何如此,就给出了10 000英尺的改动意见。

实例:“确保只有经核实的用户才能查阅私人网页”,而不是“接通主计长的电话”。 我可以从监察员那里看到后者,但德鲁登没有解释为什么你做了改动。

问题回答

而我有一份承诺信息,其中提到 联系的目的:

New require_guest before filter redirects users to
user_profile for public controllers

或许应当提及的机票号码,如果你使用Trac或RedMine等物品的话。





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...