News for hackers. Stuff that matters.
[dead]
Re:Squash your commits by dang on Friday April 01, 2016 @04:16PM (#11408197)
This comment breaks the HN guidelines by calling names, and unfortunately a number of your other comments have done this as well. Please post civilly and substantively or not at all.

https://news.ycombinator.com/newsguidelines.html

Re:Squash your commits by jecjec on Friday April 01, 2016 @04:20PM (#11408233)
Thanks dang.
Re:Squash your commits by dsmithatx on Friday April 01, 2016 @03:21PM (#11407746)
Strange that everyone these days uses Git considering it's unusable.
Re:Squash your commits by overgard on Friday April 01, 2016 @07:16PM (#11409249)
Everyone is a bit of a stretch -- the OP might have been a bit insulting; but he has a point.. hacker news can be somewhat of an echo chamber, and I think people assume Git is (or should be) a lot more widespread than it actually is. A lot of large companies still use perforce for large repository support, a lot of people still use subversion because it's simpler and they don't need a DVCS, etc. Having been the "git guy" at a lot of places, I can definitely tell you that you can't just hand-wave away its usability problems, it definitely has a cost on peoples' time that other systems don't. (I rarely have to answer other peoples questions about P4, for instance)
Re:Squash your commits by dsmithatx on Saturday April 02, 2016 @10:41AM (#11411688)
Well having managed 1000+ clients a few jobs ago, I can tell you the majority of companies these days use Git. With the proper hooks and gitflow I never found I had to tell users much once the workflow was understood.

At my last job we had about 40 devs in India spread out in different cities. We re-wrote much of Android and our Git repos were massive. This meant devs needed a local repo and couldn't be expected to work with a remote other than commits. Only once with all these random developers did history become a mess and we had to rebase and clean things up. I think a lot of people fail to understand how to implement Git properly and are making it overly complicated for daily use.

Re:Squash your commits by overgard on Saturday April 02, 2016 @06:18PM (#11413786)
> I can tell you the majority of companies these days use Git

The majority of companies you've interacted with use Git.

I'm guessing you're in the web development sphere. If you were in the game development sphere or the large-company sphere, things might look very different to you.

Look, I like git, I use it for my personal projects. But I'm also watching the company I work for transition to it, and I've watched people use it in past jobs, and I can tell you that I've seen a lot of smart engineers become entirely frustrated with that system.

At the moment we're on perforce, and while I think git is objectively better than perforce, we have a lot of engineers that are completely happy with perforce and are annoyed with the transition. And you know what? I can't blame them. Git does a lot of things better, but not necessarily things that make these peoples day to day life easier, and they've (correctly) concluded that this transition is going to require them to learn something difficult that won't really give them any direct benefit.

The idea that git is universal I think comes from the success of github. And more power to them, it's great. But while git is fantastic for open source projects, it's not universally perfect in every context. It's really really hard to use, and if you don't need any of the benefits that a DVCS provides it's not irrational to conclude it may not be for you.

Re:Squash your commits by falsedan on Friday April 01, 2016 @03:16PM (#11407700)
Fucking around with anything will do that. Learning and understanding a new tool & using it where it's appropriate will save you time and effort!
Re:Squash your commits by ams6110 on Friday April 01, 2016 @03:25PM (#11407779)
The problem is, are we developers or source code librarians?

My git workflow is pull, commit, push. I don't rebase or branch or anything else because it completely distracts me from what I'm doing as a developer. YMMV.

Re:Squash your commits by falsedan on Friday April 01, 2016 @04:26PM (#11408288)

  > The problem is, are we developers or source code librarians?
I don't understand the connection, developers can use tools which require learning/training and are free to not use those tools?
Re:Squash your commits by mcguire on Friday April 01, 2016 @06:11PM (#11408950)
"* The problem is, are we developers or source code librarians?*"

One might, perhaps, be forgiven for thinking a professional would be interested in both.

Are there any other things you consider outside your job description?