- Create a GitHub account
- Download Git Bash
- Use the git Documentation
- Work through: GitHub Guides
- This one is important: Understanding the GitHub Workflow
- Git Style Guide
- Leave exactly one empty line at the end of every file.
- Folder names are all small caps, spaces are done with dashes -
- Commit messages are small caps, starting with English present tense verbs e.g. add
- Run a spell checker/linter before you commit
Every time you want to make a local change and push it to the remote repository:
- Pull or Fetch
- Resolve conflicts, if any
- Switch to the appropriate branch
- Add/edit, save <--- these are all local changes
- Stage
- Commit - add commit message
- Push
- Open Pull Request
- Make requested changes, save, stage, commit, push -> repeat until there are no more change requests from the maintainers. Important: there's NO need to open new pull requests as you push your updates. The whole PR workflow is centered around this idea that new commits you push will be added to the same open PR until it is ready to be merged in to the main project.