5 ms·
> clogging it up with commits like "let's see, maybe this will work" "nope, last commit is junk, let's try again","junk","junk","arghh",".","." :) You can use
by prashnts 10y ago
> clogging it up with commits like "let's see, maybe this will work" "nope, last commit is junk, let's try again","junk","junk","arghh",".","." :)
You can use `git rebase` for this, which lets you pick/remove/merge commits.
- ashark 10y ago... and you can use trick of copying your .git directory somewhere safe before doing that in case you mess it up, since copying it back to overwrite your mistake is almost always faster than figuring out the "right" way to fix any given mistake, unless you have a really big repo or a really slow disk. :-)
- dispose13432 10y agoCan you keep your .git folder in git? :)