-
Fork this repository
-
git clone [URL]
-
git remote add upstream [URL OF MAIN REPO]
Note: the URL of the main repo is https://github.com/lpatmo/musical-wordle.git. You can find this by clicking ont he "code" button dropdown on https://github.com/lpatmo/musical-wordle.
npm i
npm start
(Port will behttp://localhost:5173/
)
git checkout -b [BRANCHNAME]
git branch -D [BRANCHNAME]
git checkout main
git pull upstream main
This assumes thatupstream
refers to the main repo at https://github.com/lpatmo/musical-wordle.git which you can check if you typegit remote -v
If you're in a branch and you want your branch to get the latest updates, do:
git checkout [BRANCH]
git rebase main
git push --force
git remote add [NICKNAME] [URL]
(Go to the user's forked repo and find the URL of the repo)git fetch [NICKNAME]
git checkout [NICKNAME]/[BRANCH NAME]
e.g.git checkout alan/issue-5
git branch
to double check which branch you are in.npm start
from inside this branch to check out the PR changes from the forked repo.- When you are done,
git checkout main
to go back to your ownmain
branch.
- Try to comment on individual lines in pull requests. If everything looks good, you can type
LGTM
. - When committing, try to prefix commits with the issue you are working on. For example:
git commit -am "[ISSUE-15] Update docs with some best practices"