Hi,

I looked at rebase and even tried some resets. I will take a another closer 
look. Thank you for your help.

Thanks

On Thursday, 19 December 2013 14:07:17 UTC+5:30, Philip Oakley wrote:
>
>  Have a look at 'git rebase', particularly the interactive (-i) option
>  
> do note that the subsequent commits will have new sha1 values, and that 
> rebase is 'changeset' oriented so simply dropping that commit will loose 
> those changes.
>  
> If you need to keep the changes but loose the commit, look up the fixup 
> and squash option in the interactive rebase.
>  
> Philip
>
> ----- Original Message ----- 
> *From:* Jagadeesh N. Malakannavar <javascript:> 
> *To:* git-...@googlegroups.com <javascript:> 
> *Sent:* Thursday, December 19, 2013 8:10 AM
> *Subject:* [git-users] how to delete a commit?
>
> Hi, 
>
> May I know how to delete one intermidate commit? 
> For ex: git one line log 
>
>  c4ab7b9 commit 6
> a2396a2 commit 5
> 85020f2 commit 4
> 8779285 commit 3
> 4c0b83b commit 2
> 4498573 commit 1
>
> I want to delete 
> 8779285 commit 3
>
> how to do that?
>
> Thanks
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to