Re: [git-users] Delete all commits starting from a given commit

2014-09-17 Thread Dale R. Worley
> From: Simon Joseph Aquilina 

> The change was successful. However all previous commits still exist. In 
> other words for each commit with the wrong name / email I have another 
> commit with good name / email.
> 
> Is there a way how I can delete the old (those containing wrong name / 
> email) commits? 

Do these commits still show in the history of HEAD?  If the procedure
is correct, they shouldn't.  I'd expect that old, unreferenced commits
will eventually be garbage-collected.

Dale

-- 
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/d/optout.


[git-users] Delete all commits starting from a given commit

2014-09-16 Thread Simon Joseph Aquilina
Hello, I am working on a project and I realized some commits where not 
inserted with the correct name / email information. I am working on this 
project on my own so rebase is not a big problem. To correct name / email I 
followed steps here: https://help.github.com/articles/changing-author-info

The change was successful. However all previous commits still exist. In 
other words for each commit with the wrong name / email I have another 
commit with good name / email.

Is there a way how I can delete the old (those containing wrong name / 
email) commits? 

-- 
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/d/optout.