You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the example about accidentally committing to master instead of a branch, instead of using HEAD~, I think the example should use origin/master. This will remove the need for the note that explains how to remove multiple commits to master, though I suppose it's still worth noting that origin/master might be different if your master branch is named main or something.
The text was updated successfully, but these errors were encountered:
For the example about accidentally committing to master instead of a branch, instead of using
HEAD~
, I think the example should useorigin/master
. This will remove the need for the note that explains how to remove multiple commits to master, though I suppose it's still worth noting thatorigin/master
might be different if your master branch is named main or something.The text was updated successfully, but these errors were encountered: