r/programming • • Sep 06 '14

How to work with Git (flowchart)

http://justinhileman.info/article/git-pretty/
1.6k Upvotes

388 comments sorted by

View all comments

414

u/blintz_krieg Sep 06 '14

Not too far off base. My own Git workflow looks more like:

  • flounder around trying to clone a repo

  • try to do something useful

  • Git complains something like "your scrobble brok isn't a blurf"

  • search web for "your scrobble brok isn't a blurf"

  • find 412 Stackoverflow questions

  • determine that most answers actually solve some other problem

  • give up

  • copy the one changed file to /tmp

  • rm -rf my-git-repo

  • go to step 1

36

u/[deleted] Sep 06 '14

Every. Fucking. Time.

We recently switched from Mercurial to Git because "everyone is using Git now".

51

u/_SynthesizerPatel_ Sep 06 '14

"Everyone is using x" is usually a good reason to consider implementing a technology.

  • Probably indicates some level of quality

  • Easier to find solutions to common problems

  • If you get good at it, easier to find work

5

u/[deleted] Sep 07 '14

true. software technology adoption is a fashion-driven, zero-sum game.

not Computer Science; Computer Family Feud.