This site uses cookies to deliver our services and to show you relevant ads and job listings.
By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service.
Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and terms.

Join us in building a kind, collaborative learning community via our updated
Code of Conduct.

I don't want to cherry pick or do anything else, I just want to remove all changes and reset the public repo also. As I am new Git user, I made some wrong commits. Removing .GIT directory is not an option as there is a public repository also.
– Priyank BoliaJan 5 '10 at 13:22

You can do a force push also, so removing the .git dir is actually an option.
– Lilith RiverJan 5 '10 at 13:24

2

just nitpicking, but "revision" is an svn terminology and doesn't make much sense in a tree shaped history.
– Tamás SzeleiNov 30 '11 at 15:41

1

@TamásSzelei "Revision" is a perfectly acceptable synonym for "commit". It's used both in the Pro Git book (e.g. here) and in the Git man pages.
– jubobsApr 10 '15 at 15:44