سؤال

Does anyone have some pointers to how to write SVN comment templates. I would like to include:

  • the current date (YYYY-MM-DD)
  • the author of the commit (author of the code)
هل كانت مفيدة؟

المحلول

  1. Why you are making the change. Try to make this something that isn't obvious from reading the code. "fixed a typo" is preferable to changed "1 to 2".
  2. If you are working on a defect, include the defect #
  3. If you are working on an enhancement request or named feature or the like, include that as well.
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top