Re:Gitless: experimental version control system
by br3w5 on Monday February 09, 2015 @06:05AM
(#9020579)
So is gitless against working with hunks of files because the docs say that having files with parts in multiple states is a problem? But this actually gives more flexibility. Yes it's more complex but that's the trade-off.
Re:Gitless: experimental version control system
by Lazare on Monday February 09, 2015 @08:49AM
(#9021099)
I'm not sure I'd say gitless is "against" it so much as it's focused on making the tasks people do every day easier. I use git every day, but I think I ended up staging individual hunks of files maybe...twice in the past year?
(And you can still drop back to git if you do need that functionality. As the docs note, gitless and git are entirely compatible.)
Re:Gitless: experimental version control system
by br3w5 on Monday February 09, 2015 @12:16PM
(#9022287)
true...i guess for me it's another potential option for working with git like the prezto git module and git plugins for vim
Re:Gitless: experimental version control system
by jennings223 on Monday February 09, 2015 @05:13AM
(#9020461)
Thank you so much. I think they should definitely put something like your explanation in their documentation to show the difference in a more expressive way.
Gitless simplifies this a bit by removing the "stage", so files are either tracked, untracked, or ignored, with no ability to mix states. And instead of selectively staging changed files and then committing them in two separate steps (as you do in git), you stage and commit in one go.
Gitless is built on git; someone familiar with git can easily tranlate the gitless commands into the underlying git commands. It's not doing anything magic, but for day-to-day use the commands are probably a little more consistent and sensible.
Personally, my biggest pain point with git comes from managing complex branching situations; trying to figure when/how to merge, rebase, and cherry pick can be frustrating. Sadly, gitless doesn't (yet) help with this area.
(Short form: Gitless tries to make git's syntax simpler and more consistent.)