git merge - Reverting a git pull that's already been pushed -
i'm not sure if duplicate or not it's kind of 1 off scenario: i have "beta" branch, , started new "refactor" branch. i did bunch of code in "refactor" branch. i pulled latest changes beta refactor ( git checkout refactor && git pull origin beta ) my changes ready, checked out beta, , pulled changes refactor beta. ( git checkout beta && git pull origin refactor ) realized beta branch wasn't date, had git pull pull latest beta. now beta branch date, did git pull origin refactor ensure latest there (got auto-commit message refactor being merged beta). i pushed code :( so i'm realizing 2 things did wrong: in step 3, should have done git pull first had latest changesets in beta in step 3 also, realized should have called git merge refactor instead of git pull origin refactor (don't ask me why did this, it's monday , wanted awesome refactor code beta start testing). realize if had done both of th...