DeepBlueRobotics / RobotCode2024

Other
4 stars 1 forks source link

Revert to Sunday-Code Base #96

Closed CoolSpy3 closed 3 months ago

CoolSpy3 commented 3 months ago

Reverts master to the point sunday-code branches off of.

git switch -c revert-to-sunday-code-base                    # Switch to a new branch
git reset --hard 06c5fb8b5cfe339ec70a495a8a93a7ea51dc2c2e   # Reset HEAD and working tree to the base commit we want
git reset --soft origin/master                              # Reset HEAD to master but keep the working tree
# The index now contains the code at 06c5fb8b5cfe339ec70a495a8a93a7ea51dc2c2e but the HEAD is at master
git commit -m "revert to sunday-code base"                  # Commit
git push --set-upstream origin revert-to-sunday-code-base   # Push