Okay I am new to Git and would like to know how to remove a commit before the HEAD. For instance-:
commit foo (This is the HEAD)
commit bar (This is what I want to remove)
How do I delete commit bar
entirely from this branch but keep commit foo
?