Skip to content

Git Work Flow

Mikey Nichols edited this page Mar 30, 2023 · 4 revisions

Instructions for getting your project into a proper development state

  1. Switch to development branch: git checkout development

  2. Fetch recent changes: git fetch

  3. Pull changes into repo: git pull

  4. Create a new branch following the correct naming convention: git branch <style>-<issue-number>/<issue>/<GitHub Username>

  5. Switch to your newly created branch: git checkout <style>-<issue-number>/<issue>/<GitHub Username>

  6. Create or make changes

  7. git add ., git commit -m 'atomic message'

  8. repeat until finished with issue

  9. When you are happy with changes made stage them to the repository: git add <filename>.<extension>

  10. Provide an atomic commit message (simply state what is being done in present tense): git commit -m 'does this thing'

  11. Push your local changes to our repository: git push --set-upstream origin <style>-<issue-number>/<issue>/<GitHub Username>

  12. Create pull request to merge your changes into the development branch (To be expanded)

Clone this wiki locally