Git: Managing Branches and Reverts
Creating a Development Branch
git checkout -b development
git push origin main
Reverting Main Branch to Initial Commit
git checkout main
git reset --hard <branch id>
git push origin main --force
Merging Development into Main
git checkout main
git merge other-branch -m "Title - production 29.4." --no-ff
git push origin main