Welcome to HomeHeirs! This is a collaborative project to design and implement an Android application.
Our application allows a user to easily record and manage their household inventory (for purposes like insurance), and store this information.
To work locally with this project on Android Studio, follow these steps below:
Clone the repository into a folder of your choice.
git clone https://github.com/CMPUT301F23T19/HomeHeirs.git
When editing files, and you want to commit changes to the repository, follow these steps below:
- Open Android Studio
- Make the edits on the files you wish to make
- Review the changes you made
- Once you are satistfied with your changes, save the changes by committing them to the main branch of the repository
git checkout (your_branch_name) —— this ensures that you are doing edits only on your own branch, and not the main
git add --all —— if you are in the root folder (HomeHeirs), this ensures that all files that have been edited can be pushed to the main branch
git commit -m "<insert brief descrption of what has been revised here>"
git push --set-upstream origin (your_branch_name) —— under the "Pull requests" tab, create your pull request, and ask another member to accept it
If you would like to pull changes from the main branch into your own branch, follow these steps below:
git checkout (your_branch_name) —— this ensure that you are in your own branch, and not the main
git pull origin main —— this command fetches changes from the main branch and automatically merges them into your own branch