简体   繁体   中英

Looking for examples of good svn commit comments

I just started my own svn server to develop my application. I am learning English and I want to write comments on svn commits in English. What words, patterns, terms and tenses should I use?

What are common words on svn comments? Fix, bug, feature? I'm looking for good style to get good style and good habits from the start.

Comments in code are also important but I think it is more examples and books about it.

Look at good public projects in SVN, for example: Google Chrome.
I opened Repo-browser of TortoiseSVN, with the url: http://src.chromium.org/svn/trunk/src
Then right click on src folder, "Show Log", and you see all the commit messages.
See attached image. 在此处输入图片说明

I think its best if you read up on svn. This can be a good start http://svnbook.red-bean.com/nightly/en/svn.tour.html

On the other hand, there is no fixed way to commit comments. It is encouraged to commit changes after a days work with all the changes made to that version of the code. You can include the bugs that remain, bugs fixed and work left to be done. It really depends on you. But the more detail you put in, the easier it becomes when you have to sort through different revisions.

我将看一下Subversion代码本身所在的存储库:

svn log -r {2011-01-01}:{2011-02-01} http://svn.apache.org/repos/asf/subversion/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM