I'm programmer for about 5 years and thats new for me 😂 Thanks.
Cool but may be way slower than doing a simple git add with the appropriate filter. Likely those 50+ files would gather in one or a few folders. you can just add those directories in one command line. You can just select from a git status the folders and files you want to commit and voilà. That being said interactive staging has nice applications I am trying to learn about. Something that happened to a colleague. They use VS to manage this but I am a command line freak. Need to learn. :)
If I recall, this was the default staging mechanism in SVN. You could (I think) set it as the default in git also by using a git alias (or bash aslias). 👍
Finally a useful YT Shorts
Nice, thanks for the tip. I never used -i. I've always used -p, which does per hunk booleans
I use Tig, Can't live without it
I use lazygit
I'm using VS code and my mouse. I'm not a masochist to still use terminal in 2024.
git add -i git commit -p git rebase -i are how I stay sane with git in the terminal. Love them!
Thank you for not supporting "." I've seen so much crap committed by people with that habit
thanks mate
No way that was a thing
I still don't get using git without a UI for basic things like staging and unstaging. Using git directly is great for granular control but here it's just a waste of time imo
Why not use vscode?
I prefer just using a gui application. After a long coding sesh or coding a feature I feel it is better to just use a gui.
Git add -p .
I click on the file(s) with my mouse in the GUI for a 1000x more efficient process
we just use ide and dont bother with this sht.. maybe for devops its essential since they working in terminals mostly
Completely disagree. Keyboard is better than mouse
@codingwithmat