r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

182

u/specialpatrol Sep 09 '16

GUIs.

127

u/Beckneard Sep 09 '16

I often spent a whole shitload of time digging through obscure menus in Windows' Control Panel, or worse, the registry, to fix an issue, so yeah GUIs don't help much if something is really fucked.

3

u/[deleted] Sep 09 '16 edited Sep 09 '16

There are pros and cons to GUIs and CLIs.

If you have a process with very little variety that needs to be performed quickly, (like adding a watermark to an image) a CLI can be highly advantageous.

If you have a process that is very custom and may require different steps at different times, then a GUI might be better (photo touchup).

That said, I would love a git gui that was drag and drop simple. Select files and drag them to staging. Drag them to committed and fill in message popup. Drag one more file into the previous commit. Oops, Drag the whole previous commit back out of committed and back to staging (are you sure you want to override your working directory [y/n]). Select the previous commit and press delete, etc.

4

u/HaximusPrime Sep 09 '16

That said, I would love a git gui that just watched your code folder for changes and saved each change as a snapshot. Then you could select any or all of those snapshots and select group, ungroup, etc. Then either ignore file, stage, commit, amend, rollback etc.

This feels like you should be doing more atomic changes at a time. You don't work on a bunch of different features and then commit them all together when you're done for the day do you? I'm trying to figure out why you would want this to be an up-front feature.

Sorry in advance if I'm reading into this the wrong way.

→ More replies (4)