Changes between Version 51 and Version 52 of WorkingWithGit
- Timestamp:
- Aug 29, 2016, 8:47:22 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingWithGit
v51 v52 66 66 1. Wrap the body at 72 characters 67 67 1. Use the body to explain what and why vs. how 68 69 Additionally, MacPorts has the following rules for references to tickets, pull requests and commits: 70 71 * When referencing a ticket, use the full URL to Trac: !https://trac.macports.org/<number> 72 * When referencing a pull request, use !#12345 73 * When referencing a commit, use a git commit hash: !bfc6af313273c79515df9bde4f3eaa2dd0f15276, which may be abbreviated to up to 7 characters: !bfc6af3 68 74 69 75 If you don't want to remember these rules, you can configure your git client to load a template whenever it prompts you for a commit message by setting the `commit.template` [https://git-scm.com/docs/git-config git-config(1)] option. The KDE developers [https://quickgit.kde.org/?p=macports-kde.git&a=blob&h=14f952f776b9f54263671cc2aba5886c6ebee75b&f=contrib%2Fgit-setup%2F.git-commit-template&o=plain have a nice example].