I'm new to bitbucket and sourcetree, I have to reset back to modification in a commit that was done 3 weeks ago and have it those modification be the active source in bitbucket but keep the current set of code changes, for a later date. What is the easiest way to accomplish this. I have cloned my repository in sourcetree, can see my commits and branches and the branch that I need to reset back to. What are the steps in sourcetree/bitbucket?
Thank you
It sounds like you should create a new branch before making any modifications to reset your work. That way you will have the other branch as a backup.
There are some differences between git revert and git reset. This guide has more information that you might find useful: https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.