For example, in the following main branch, I need to delete only commit af5c7bf16e6f04321f966b4231371b21475bc4da, which is the second because of the previous reboot:
commit 60b413512e616997c8b929012cf9ca56bf5c9113 Author: Luca G. Soave <luca.soave@gmail.com> Date: Tue Apr 12 23:50:15 2011 +0200 add generic config/initializers/omniauth.example.rb commit af5c7bf16e6f04321f966b4231371b21475bc4da Author: Luca G. Soave <luca.soave@gmail.com> Date: Fri Apr 22 00:15:50 2011 +0200 show github user info if logged commit e6523efada4d75084e81971c4dc2aec621d45530 Author: Luca G. Soave <luca.soave@gmail.com> Date: Fri Apr 22 17:20:48 2011 +0200 add multiple .container at blueprint layout commit 414ceffc40ea4ac36ca68e6dd0a9ee97e73dee22 Author: Luca G. Soave <luca.soave@gmail.com> Date: Thu Apr 21 19:55:57 2011 +0200 add %h1 Fantastic Logo + .right for 'Sign in with Github'
I need mantain
- First fix 60b413512e616997c8b929012cf9ca56bf5c9113,
- The third lock is e6523efada4d75084e81971c4dc2aec621d45530 and
- Last commit 414ceffc40ea4ac36ca68e6dd0a9ee97e73dee22
"discard" only second commit af5c7bf16e6f04321f966b4231371b21475bc4da
How can i do this? thanks in advance Luke
git git-rebase git-reset git-revert github
Luca G. Soave Apr 22 '11 at 15:48 2011-04-22 15:48
source share