All I am very new to GIT and want to understand the very basic rollback operation. What I want to do is rollback my master repo to a prvious commit and discard any of the changes after that. I have searched a lot but am not able to get a clear understanding of this. So this is what I want
A-->B-->C--->D-->E-->F are my commit versions and master is at (F)
I want to do the roll back to B and in my working files folder, I want to see my file and folder structure just the way as it was at the time of working on "B". This then becomes my new master and I started working from here on going forward. Versions CDEF and can be deleted for all I care.
This is something basic that should be able to dobut all the commands I have tried are not giving me what I want...
Can someone please assist.