Accidentally, I committed 6 times into master instead of creating a new branch.
One wrong commit wouldn't be painful, I would do a simple git rese...
For further actions, you may consider blocking this person and/or reporting abuse
Alternatively you can use
git reset --hard origin/master
in step 3. This resets the status of the local repository to the state of remote.@mygeen ,
awesome, thanks for this information.
If you want to use it, first check if your remote is at the proper state.
Creative alternative.
And if i do that in remote?