Posts Tagged ‘Frustration’

git-fu: Git for the lazy

Tuesday, July 29th, 2008

Getting started with Git? Git for the lazy is one of the better starting points we’ve seen [via SvN].

There are a million Git cheat-sheets out there, but this one does a pretty good job at picking the more intuitive way of performing a particular task, and showing some sample commands to get it done. The How To Fix Mistakes section is particularly useful, and succint:

Haven't committed yet, but don't want to save the changes? 
You can throw them away:   
git reset --hard   

You can also do it for individual files, but it's a bit different:   
git checkout myfile.txt   

Forgot something in your last commit? That's easy to fix.   
git reset --soft HEAD^   

Then write over the last commit:   
git commit --amend   

Don't make a habit of overwriting/changing history if 
it's a public repo you're working with, though.

If I read another post with a laundry list of why git is useful, each bullet linking me to the man page, I’m going to scream. How much time do you think I have?

There is no shortage programmers coming over from Subversion who feel confused and perplexed by all that Git has to offer. My biggest complaint about Git is that there are quite a number of ways to accomplish a specific task, and it’s not always clear that the best practices are.

Bizarre: Address Book -> Google Sync

Thursday, May 29th, 2008

The situation with Address Book / Google Contacts sync is completely bizarre. The Google Mac Blog says that OS X 10.5.3 “now lets iPhone users sync their Address Book with Google Contacts.”

Awesome, but what’s up with iPhone requirement? Is there some special technology in the iPhone, a technology that doesn’t exist in full-sized computers, that makes the sync possible? Is this a business ploy to attract gmail users to the iPhone who might otherwise use a Google -> Address Book -> iSync double-bridge to get their gmail contacts on their Razr?

But then you can enable sync, without an iPhone or iPod touch, if you’re willing to brave a simple .plist hack? I’m very confused about what the logic is behind all of this.