外す → 新規開始 → GitHub 連携(新バージョンとして)
Windows PowerShell:
rm -rf .git
Remove-Item -Recurse -Force .git
確認
git status
git init
site/config.local.php site/config.*.local.php .env uploads/ cache/ tmp/ logs/ img/cache/ img/thumbs/ .DS_Store Thumbs.db .vscode/ .idea/ scc/ vendor/ *.log
git add . git status git commit -m "initial commit (new version)"
git remote add origin https://github.com/USER/NEW_REPO.git git branch -M main git push -u origin main
git add . git commit -m "change" git push