I have a javascript project under git version control and I want to make some "risky" changes with a high likelyhood of breaking the application.
I understand as far as I should create an "experimental" branch and perform changes on this branch, with: (creating a new branch off the develop branch)
git checkout -b experimental develop
If it turns out the changes I perform on this branch are unusable, I understand I can always just checkout back to the develop branch, but how do I then "tidy up after myself" i.e.
- remove the experimental changes and
- Delete the branch