next.js
init project
npx create-next-app@latestshadcn
init
npx shadcn@latest initadd all components
npx shadcn@latest add .git · new repo
init
git initadd remote origin
git remote add origin https://github.com/username/repo.gitchange remote url
git remote set-url origin https://github.com/username/repo.gitrename branch to main
git branch -M mainstage all
git add .commit
git commit -m "message"push
git push -u origin maingit · branches
new branch + switch
git checkout -b branch-nameswitch to branch
git checkout branch-namegit · nuke
clear commit history
rm -rf .git && git init && git add . && git commit -m "init" && git push --force