News for hackers. Stuff that matters.
Re: by sa1 on Wednesday November 16, 2022 @01:17AM (#33619545)
I’ve never used one of the source control systems at these big companies but I use the staging area along with your git-branchless just fine for now. I’m not sure if it’s any less efficient this way.
Re: by arxanas on Wednesday November 16, 2022 @02:17AM (#33619937)
It's not a big deal either way, but the staging area interacts worse with some operations. For example, if you have staged changes and then get a conflict with `git checkout --merge`, AFAIK there's no way to undo to before the conflict in Git. When using commits, all of the standard merge and undo tactics apply.