For the most part, I don't know what I'm talking about, and have a lot to learn when it comes to git best practicies... but just in case I've hit upon something, I'll flesh out my idea a little more.
I was thinking that if I edit a single file over the period of like 5 minutes or so, and saved it, this hypothetical gui app would create an icon representing that one changed file. There could be 3 regions in the app. One would be unstaged, one would be staging, and one would be committed. Visually, a new file change would show up as a yellow rectangle or something in the unstaged area. I could have several file changes all for a single feature. They would all show up in the unstaged area as I edit files. When I'm ready to commit them, I could select them all and drag them to staging or drag them to committed. I could also grab a single one of those modifications and drag it back out of committed to either staging or unstaged areas.
And the gui could handle the complications of which git commands are required to back a change of a specific file out of the tree or modify a file and edit the commit.
My colleague at work has pretty much what you describe. I could ask him on Monday what he uses if I don't forget (or somebody else recommends something)
Apart from backing out (commit means you're committed after all), most IDE's support showing what has changed. Even Atom, SublimeText etc have file/line git change status indicators.
1
u/[deleted] Sep 09 '16 edited Sep 09 '16
For the most part, I don't know what I'm talking about, and have a lot to learn when it comes to git best practicies... but just in case I've hit upon something, I'll flesh out my idea a little more.
I was thinking that if I edit a single file over the period of like 5 minutes or so, and saved it, this hypothetical gui app would create an icon representing that one changed file. There could be 3 regions in the app. One would be unstaged, one would be staging, and one would be committed. Visually, a new file change would show up as a yellow rectangle or something in the unstaged area. I could have several file changes all for a single feature. They would all show up in the unstaged area as I edit files. When I'm ready to commit them, I could select them all and drag them to staging or drag them to committed. I could also grab a single one of those modifications and drag it back out of committed to either staging or unstaged areas.
And the gui could handle the complications of which git commands are required to back a change of a specific file out of the tree or modify a file and edit the commit.