News for hackers. Stuff that matters.
Re:Some bad Git situations and how I got myself out of them by K0nserv on Friday September 09, 2016 @04:31AM (#12460452)
I have to disagree, I've seen people paint themselves into really hard to get out of corners by using GUI tools and not understanding the underlying tool. git GUIs are leaky abstractions that sometimes even change the meaning of core git concepts. I always recommend people start by using git at the command line until the have a solid understanding of how the tool works before switching to a GUI.
Re:Some bad Git situations and how I got myself out of them by noufalibrahim on Friday September 09, 2016 @06:34AM (#12460902)
Yes. I teach git professionally and when I do, my approach is to stick to describing the nuts and bolts. Once people use it from the command line and get things done, they (usually) understand what's going on pretty well but are annoyed by the nitty gritties of the command line. Then they're ready to move on to a tool of their choice but can always map the actions there back to the data structures inside git so they've never lost. Also, they can always drop back down to the command line for any low level surgery that the client doesn't provide.

I use magit myself for most things.

Re:Some bad Git situations and how I got myself out of them by mewm on Friday September 09, 2016 @07:56AM (#12461315)
I completely agree with this one. I encourage our developers to always use the cli, even if they are not familiar with the core concepts of git. I see myself as a mediocre git user, but there are some situations, however, where I prefer to use a GUI for more complex operations, like staging/un-staging specific lines or create/apply patches.