How would I go about:
1) Reverting changes pushed out to master (remote)
2) Moving those changes to a separate branch
3) Move those changes back into master at a later time
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First do 2), but only if you really need the branch.
Then do 1) using
git revert.Finally, redo the changes by reverting the revert commits.