News for hackers. Stuff that matters.
Re:How to commit part of file in Git by danhorner on Friday February 16, 2024 @08:40PM (#39405461)
I came here to say this. `git gui` is nearly ubiquitous and has saved me for years from learning how to use `git add -p`. I don't use many graphical git tools but its options "stage hunk" and "stage line" are more intuitive and fine-grained than the hunk-splitting in `git add -p`
Re:How to commit part of file in Git by from-nibly on Friday February 16, 2024 @09:51PM (#39405873)
I'm a native git guy in general, but `git gui` has absolutely won my heart. I don't know what I'd do without it for staging partial commits. That and searching through stashes.