Create a copy of the repository on your local machine via terminal:
cd Desktop # if wanting folder on desktop
git clone https://github.com/Josh-Voyles/Home-Choice-Pro
cd Home-Choice-ProSet up your virtual environment
python3 -m venv venv # macOs/Linux install virtual environment
cd venv
source bin/activate
cd ..
pip install -r requirements.txtBefore creating a new branch, ALWAYS ensure latest development branch
git pull origin developCreate issue on Github for new feature or bug OR take note of issue number
git branch feature-or-bugfix-name
git checkout feature-or-bugfix-name
# open project in your editor
# for example VS Code
code .Again, make sure you're working on a specific issue
Once you're done with your edits, save and add changes to staging
For example, if working on README.md file
git add README.mdNow commit your changes
git commit -m "See: #<issue_number> <your_commit_message>"Now let's push your branch to Github
git push origin feature-or-bugfix-nameHead to the Github project, and open new pull request to develop branch
After the project has been merged, make sure you delete your local repository that you pushed.
git checkout develop # switch to develop branch first
git branch -D feature-or-bugfix-name