[MacPorts] CommitRules modified
MacPorts
noreply at macports.org
Fri Nov 4 04:21:48 CET 2016
Page "CommitRules" was changed by larryv
Diff URL: <https://trac.macports.org/wiki/CommitRules?action=diff&version=9>
Revision 9
Comment: fix heading levels
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommitRules
=========================================================================
--- CommitRules (version: 8)
+++ CommitRules (version: 9)
@@ -1,18 +1,18 @@
-== Commit Rules ==
+= Commit Rules =
{{{
#!div style="background-color: lightyellow; padding: 0.25em;"
TODO: This page needs to be merged with WorkingWithGit#commitmessages
}}}
-=== General ===
+== General ==
1. Mention the names of the affected ports (or state what they have in common if there are too many to list individually), since this information is not visible in the revision log
1. Be specific about what changes were made (for example, when updating to a new upstream version, mention the version number) and, if it's not completely obvious, why they were made
1. Reference any tickets that are related to the change, preferably with a [wiki:TracLinks Trac link]
-=== Using sensible commit messages === #messages
+== Using sensible commit messages == #messages
When publishing your changes in MacPorts' ports tree, it is good practice to use properly formatted commit messages.
@@ -44,7 +44,7 @@
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
* http://chris.beams.io/posts/git-commit/
-=== Correcting mistakes === #amend
+== Correcting mistakes == #amend
If you have '''already pushed''' the commit to GitHub, the commit message can no longer be changed. You may add a comment on GitHub to the commit to clarify your mistake.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/CommitRules>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'CommitRules' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list