git clone https://github.com/kainoabrabo/nextjs-ff.git
cd nextjs-ff
docker compose up --build --force-recreate
npm install
, Docker takes care of that.Run every time you make changes before and after testing, and before commit.
npm run lint
Run formatter on VSCode:
option + shift + f
ctrl + c
check for uncommitted or staged commits
git status
OPTIONAL: clear all uncommited or unstaged code to clean
git reset HEAD --hard
pull from the repo. pull until you get "Already up to date."
git pull
git checkout -b <branch name>
ex.
git checkout -b feature/user-authentication
git checkout -b bugfix/maps-component
git status
git branch #this will be the branch you merge
git add .
git commit -m "
git push
git checkout main
git pull
git merge