Hi In SourceTree, I need to discard all 8 changes made to my Develop branch (commits done) since yesterday.
What is the best option for me to do this?
I do not need to keep any changes made since then.
Community moderators have prevented the ability to post new answers.
Hi Rishab,
If you don't care about any of those recent commits, you're best bet is to do a 'git reset' on the commit you want to point back to. (i.e. reset commit branch to this commit)
Be careful, as this is a destructive operation, and you won't be able to get any of those commits back.
Cheers,
Jesse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.