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.
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)?
This thread has probably all the steps you need.
It looks like you're new here. Sign in or register to get started.