r/coding • • Aug 22 '17

You're using git wrong

https://dpc.pw/blog/2017/08/youre-using-git-wrong/
30 Upvotes

71 comments sorted by

View all comments

1

u/dpc_pw Aug 22 '17

I hope this is related enough for r/coding since it does not have a single line of code. I'm looking for feedback and opinions.

0

u/[deleted] Aug 22 '17

[deleted]

3

u/EnergyCritic Aug 22 '17

I dunno, the post didn't read like that to me at all, and everything OP is suggesting flies in the face of what I currently practice and preach. It was a mind opener for me. I guess I don't completely understand why you are being so defensive about his writing but it is good to me

1

u/dpc_pw Aug 23 '17

Hi.

Obviously, there are organizations with 100, 1000 or more people working on top of "one master branch" and doing fine. My point is, that git doesn't have to work this way, wasn't created to work this way, yet it seems to me people overlook or forgotten about DVCS approach, and so that is an approach I'm trying to describe by saying "you should this, you should that".

I assume the reader is somewhat familiar with "one master branch" approach, so I'm not elaborating on how that works or could be improved - there's plenty written on it already. (If I was to write about it, I would definitely talk over bors/homu etc.

-3

u/DoctorOverhard Aug 23 '17

did you switch from cvs/subversion/clearcase to git? Or did you just inherit git and don't know how it got that way? This is about git, not you fwiw.

3

u/andschwa_ Aug 23 '17

You're preaching what I think many of us are screaming inside at our coworkers. Also, I caught a few grammatical mistakes:

You have one process that everyone have to follow

has to follow

Have you ever did a code review

done a code review

Have you ever were unable

been unable

not relay on a central testing system

rely on a

3

u/dpc_pw Aug 23 '17 edited Aug 23 '17

Thank you! Should be fixed now.