- For Mac users:
- Install Homebrew if you haven't already.
brew install node
- For windows users:
- Go to https://nodejs.org/en/download/ to install node.js
Preferred IDE: VS Code
npm install
npm run install
npm start
- Go to http://localhost:3000/
-
git checkout -b <your-name>/<feature-name>
-
Code until you hit a good checkpoint. Make sure there are no errors/broken builds.
-
git status
shows you what files you have changed. -
Commit your files
-
If you want to commit all modified files:
git add -A
-
Otherwise to add the particular files you want to commit:
git add <file1> <file2> <...>
-
-
git commit -m "some commit message"
-
Push your branch
-
For brand new branches:
git push -u origin <branch name>
-
For previously pushed branches:
git push
-
you can find your branch names with
git branch
-
- Make a new branch formatted
<your-name>/<feature-name>
to submit a pull request to master. - Notify team that a PR has been made :)
- After a pull request is approved, rebase and squash commits before merging into master
-
Checkout to master
git checkout master
-
Pull the most recent changes from master
git pull
-
Check into the branch of the PR
git checkout <your branch name>
-
Rebase and squash commits:
git rebase master
-
Push changes to GitHub.
git push -f
Do NOT force push to other people's branches or shared branches