Still hatin' on git: now with added Actual Reasons
reprog.wordpress.com
Still hatin' on git: now with added Actual Reasons
1–10 of 169 posts
Re: Still hatin' on git: now with added Actual Reasons
#22) More broadly: yeah, if you expect it to work Just Like Things You Already Know, it just won't work out for you. It really is a totally different workflow, and it either works for you, or it doesn't. Empirically, it works great for many people/organizations (though, absolutely, not without some trade-offs). But truthfully, yeah, if you're a single developer, disinclined to use some of the niceties and very interested in maximizing simplicity/reducing keystrokes... svn really may be a better fit.
Re: Still hatin' on git: now with added Actual Reasons
#3This is a bit vague, but I'm guessing you mean you open up the file in your text editor of choice and edit it directly.
What I do these days, probably originally prompted by exactly the sort of frustration you describe, is to run "git mergetool", which I happen to have configured to fire up emerge, but you can use any of a number of tools. Once I'm done, git is happy and I can just push. Initially I was a little grumpy about learning how to use emerge when before I just edited the file with all its >>> directly, but after learning the tool, I wish I'd been doing conflict resolution this way back when I used CVS and SVN. It's really much nicer and less error prone.
So, I hope that's a helpful hint. You're absolutely right about a lot of the unhelpful & unintuitive messages and commands.
Re: Still hatin' on git: now with added Actual Reasons
#4Re: Still hatin' on git: now with added Actual Reasons
#5Re: Still hatin' on git: now with added Actual Reasons
#6Re: Still hatin' on git: now with added Actual Reasons
#7And if you just need versioning for a couple .doc files: use Apache's mod_dav_svn and be done with it (i.e., you can mount it as a directory in Nautilus or the Mac finder and it just works). Even though I like all the fancy stuff in Hg, I started using it and never looked back because it's always been painless. (Oh, and you can work directly* on the repository, version history is mostly useless because it reflects weird program behaviour including temporary files, but you'll never get any conflicts unless you mess up really badly).
Re: Still hatin' on git: now with added Actual Reasons
#8From your complaints, it sounds like you'd really like Mercurial. Give it a shot.
Re: Still hatin' on git: now with added Actual Reasons
#9Re: Still hatin' on git: now with added Actual Reasons
#10I'm optimistic that, within another few years (give or take a decade), someone will come up with a VCS that's both powerful and usable. :-)
Other than that: I enjoyed your article. Very nice walk through some of the problems and hair-pulling that I'm going through regularly, too.
Pro-Tip: My life with git got a bit easier since I keep this big bucket of paste-ready shell-snippets near my terminal window. You know, those handy little 14-liners that look like line-noise at a glance, but get you out of "situations" when chanted.