Hacker News new | ask | show | jobs
by singlow 4320 days ago
Just be careful. A coworker of mine did this recently and forgot the -name part. Accidentally deleted everything, including the .git directory. He sure wished he had pushed that day.
1 comments

*that hour.

Surely you don't cruise through to the end of a day without pushing at least once before lunch? :(

I commit often, rewrite mercilessly, and thus I push to the big server infrequently. I do push frequently between local machines and servers. Mercurial Evolve makes propagating these edited commits across my local servers quite nice.

Anyways, besides the plug for hg, my point was that I would expect pushing could be a once-a-day kind of thing, whereas commits should be every five minutes. :-)

I agree. Pushing too frequently means you can't rebase and reorganize your commits - unless you each use separate repos.