What to do when you accidentally commit to master
I go over how to remove unwanted commits in the master branch while saving them in a separate branch, as well as how to undo commits mistakenly pushed to github. More info on git reset: https://www.atlassian.com/git/tutorials/undoing-changes/git-reset Desktop Background 'Our Night Under the Stars' © Trey Ratcliff, Stuck in Customs https://stuckincustoms.com/2010/07/06/our-night-under-the-stars/
I go over how to remove unwanted commits in the master branch while saving them in a separate branch, as well as how to undo commits mistakenly pushed to github. More info on git reset: https://www.atlassian.com/git/tutorials/undoing-changes/git-reset Desktop Background 'Our Night Under the Stars' © Trey Ratcliff, Stuck in Customs https://stuckincustoms.com/2010/07/06/our-night-under-the-stars/