32549 Advanced Internet Programming - Spring 2020
Postgraduate Tutorial 01
Philosophy based off of Emoji-Log: A new way to write Git commit messages
- Imperative
- Commit messages should be imperative, like you are giving an order
✅ Add instead of ❌ Added
✅ Create instead of ❌ Creating
- Commit messages should be imperative, like you are giving an order
- Categories
- Each commit starts with a category,
📦 NEW:
👌 IMPROVE:
🐛 FIX:
📖 DOC:
🚀 RELEASE:
☑️ TEST:
🥨 REFACTOR:
- Each commit starts with a category,
- Actions
- Each commit is based on actions you take
- Spelling
- Use proper spelling where possible
- Capitalisation
- The categories should be all UPPERCASE followed by a single colon :
- The first letter of the first word following the colon should be capitalised
- Following letters should be all lowercase UNLESS
- A proper noun
- Referring specifically to filename, class, method, function or other specific part of the coded project
No branches just origin/master unless you are willing to deal with the issues of branch merge directly
- Add all files to local
- Commit directory/project to local
- Pull Remote
- Resolve Issues
- Re Commit Local
- Push Local to Remote
If there are any unexpected errors do communicate with rest of team when working.
- Before Work Starts
- Periodically
- Any significant changes
- Work on other Projects
- Return From Working on other projects
- Need to move away from keyboard
- Come back to working after being away
- Use your own judgement
- End of the day / When done with work