News for hackers. Stuff that matters.
Re:Understanding Git for real by exploring the .git directory by matt4077 on Sunday February 21, 2016 @10:21AM (#11144819)
Yeah, I used to race through svn workflows without a second thought. With svn, I still don't understand how to (just one example) throw away all the local changes. (No, not git reset --hard. At least that didn't work when I last tried).

It came to the point where I thought about spending a week just learning git to defend my berd creds.

Instead, I just use a gui for anything beyond add/comit/push. I still don't like not to understand one of my daily tools, but I have real work to do.

Re:Understanding Git for real by exploring the .git directory by barrkel on Sunday February 21, 2016 @07:51PM (#11147558)
I found I had to build a whole parallel patch management system to rationally deal with svn. Applying the same patch in multiple branches was a royal PITA in svn; in git, it's trivial.

git status will tell you how to throw away local changes, btw. Depending on the kinds of changes (e.g. edit/delete added, staged or not) need different commands.

Re:Understanding Git for real by exploring the .git directory by novel on Sunday February 21, 2016 @09:31PM (#11148020)
Beware, once you learn some of the git useful patterns and features, most likely you'll start feeling very uncomfortable when you have to go back to svn ;)