Since all the group members ( except me 😂) are using MacBook. These steps can help you set up a workstation.
- Install Homebrew.
- Install iTerm2 (recommended).
- Install Fish and Oh My Fish (recommended).
brew install fish
- Install python3.
brew install python3
- Install pip (should be installed with python3 if you used Homebrew, use
pip3 --version
to check). - Install Git
brew install git
- Install Git LFS
brew install git-lfs
- Create ssh key and upload public key to github
We are using Python and we can follow the coding style of Google.
If you have time, you can read the Pro Git book. But I know we all have many other works to do. So I just write some topics about Git that we will encounter in the our project.
- Create a new branch from master branch when you are working. (DO NOT commit to master branch directly)
- Don't have multiple long-term maintained branches.
- Don't commit to other teammates' branches.
- After your work is finished, created a PR (pull request) to master and add a reviewer to review your code.
- Use
git lfs
to track large files and certain binary files.
This is a team project, we want to have a simple and clean history of our work. We need to understand the GitHub flow.
https://rogerdudler.github.io/git-guide/
The most simple way is to remember whenever you make changes to you work, you use the commands
git add .
git commit -m "<your comment for you commit>"
git push origin <your branch>
Replace the contents in < >
based on your situation.