Remove old Repository + create fresh Repository


✅ Step 1: কোথায় .git আছে check করো

Git Bash এ root folder এ গিয়ে:

ls -a

👉 .git দেখলে বুঝবা এখানে repo আছে


✅ Step 2: API & UI এর ভিতরের .git delete করো

rm -rf API/.git
rm -rf UI/.git
rm -rf UI/CodePulse-UI/.git
rm -rf API/CodePulse.API/.git

👉 safe command—শুধু git history delete করবে, code না


✅ Step 3: root এর .git ও remove করো (fresh start এর জন্য)

rm -rf .git

🧠 এখন তোমার folder হবে pure code only

fullstack-blog-angular-aspnetcore/
 ├── API/
 └── UI/

👉 কোনো .git নাই = clean state ✅


🚀 Step 4: নতুন repo initialize

git init
git add .
git commit -m "Initial clean fullstack project"

🔗 Step 5: GitHub repo connect

git remote add origin https://github.com/your-username/repo-name.git
git branch -M main
git push -u origin main

⚠️ MUST CHECK

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top