5 ms·
Which part gives you issues, adding things or removing things?
by imron 5y ago
Which part gives you issues, adding things or removing things?
- mtzet 5y agoWorking at file granularity is fine, but I've never gotten a good workflow for using the CLI to stage individual hunks. Nothing beats selecting the lines I care about in magit (or any other GUI) and clicking to stage.
- etripe 5y agogit add --interactive <file>, then mark the file as staged and select the patch option if memory serves. It's not complex once you get the hang of it. The only problem I run into is not being able to split chunks further. I do agree a GUI lowers the barrier to entry.
- spaetzleesser 5y agoThe way it’s displayed and then also the commands. With Sourcetree you have a really nice display and it’s very efficient to stage/upstage/discard lines and hunks. I am sure I could get used to the command line with enough practice but source control tools are pretty low on my list of priorities of things I want to get better with. So I stick to what works for me.