Currently, my git tree looks like this
master
^
|
Commit 3
^
|
Commit 2
^
|
Commit 1
^
|
remote/origin/master
What I want to do is, remove the changes from Commit 2 and 3 like they never existed and then push the changes. There were some uncommitted changes that I stashed (They are mainly config files and makeFiles, so I don't want to have them in the tree). Also, I would like to know what is the best process to follow so that I don't end up messing my working directory like I have done now. Please help
Git-newbie,
Thanks.