Create a new Branch:
git checkout --orphan latest_branch
Add your all the files:
git add .
Save the changes with commit:
git commit -m "commit message"
Delete Main Branch:
git branch -D main
Rename latest_branch to main:
git branch -m main
Force update the repo:
git push -f origin main
No comments:
Post a Comment