- The tab indentation size is 4 (whitespaces) for this project.
- We use PyQt5 for building the GUI.
-
Fork the repository to your personal GitHub account. We call this forked repo as
<YOUR_USERNAME>/EmotionGUI-UoA
repo. -
Now, clone
<YOUR_USERNAME>/EmotionGUI-UoA
and addkaustubh-s1/EmotionGUI-UoA
as the upstream:git clone https://github.com/<YOUR_USERNAME>/EmotionGUI-UoA.git cd EmotionGUI-UoA git remote add upstream https://github.com/kaustubh-s1/EmotionGUI-UoA.git git fetch upstream
-
Checkout to local's
main
branch. And create a new branch with the name of your feature (eg.docs
):git checkout main git pull upstream main git push origin main git checkout -b <FEATURE_NAME>
-
Close the terminal and complete the task. You may commit your progress as many times as you like during the process:
git add --all git commit -m "<YOUR_MESSAGE>"
-
Commit your progress if you haven't already and push it to
<YOUR_USERNAME>:<FEATURE_NAME>
likewise:git push origin <FEATURE_NAME>
-
Open your browser and go to
<YOUR_USERNAME>/EmotionGUI-UoA
repo on GitHub. -
Create a PR from
<YOUR_USERNAME>:<FEATURE_NAME>
tokaustubh-s1:main
(Very important step) -
Wait for the maintainer to review your code. If you need to make some changes, commit and push to
<YOUR_USERNAME>:<FEATURE_NAME>
. -
Delete
<YOUR_USERNAME>:<FEATURE_NAME>
branch after the PR is merged or is out of scope.git checkout dev git push -d origin <FEATURE_NAME> git branch -d <FEATURE_NAME>
-
Repeat from step 3 for a new PR.
And you're done!