cd YOUR_PROJECT_DIR
rm -r .git
git init
git add .
git commit -m '🎉 feat: initial commit'
git remote add origin [email protected]:YOUR_USER/YOUR_REPO.git
git push --force --set-upstream origin master
Last active
May 30, 2024 06:18
-
-
Save pabloaugusto/38ae0a33d2f80160b17167ed1d5d316a to your computer and use it in GitHub Desktop.
reset github repository (delete all previous commits)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment