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