-
Notifications
You must be signed in to change notification settings - Fork 3
Git Work Flow
-
Switch to development branch:
git checkout development
-
Fetch recent changes:
git fetch
-
Pull changes into repo:
git pull
-
Create a new branch following the correct naming convention:
git branch <style>-<issue-number>/<issue>/<GitHub Username>
-
Switch to your newly created branch:
git checkout <style>-<issue-number>/<issue>/<GitHub Username>
-
Create or make changes
-
git add .
,git commit -m 'atomic message'
-
repeat until finished with issue
-
When you are happy with changes made stage them to the repository:
git add <filename>.<extension>
-
Provide an atomic commit message (simply state what is being done in present tense):
git commit -m 'does this thing'
-
Push your local changes to our repository:
git push --set-upstream origin <style>-<issue-number>/<issue>/<GitHub Username>
-
Create pull request to merge your changes into the development branch (To be expanded)