Hi.
I accidently pushed something into the wrong branch. Can I undo that push?
Is it right-click on the last valid commit, and choosing "reset branchname to this commit"? Or another option?
Thanks.
This thread has probably all the steps you need.
To clarify, did you just commit something to the wrong branch (easy to fix), or did you also push it to a remote (fixable, but will cause problems for teammates)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.