@icing git add -p 🧐
Conversation
Notices
-
Embed this notice
Filippo Valsorda :go: (filippo@abyssdomain.expert)'s status on Friday, 26-Jan-2024 02:02:24 JST Filippo Valsorda :go: -
Embed this notice
Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Friday, 26-Jan-2024 02:02:15 JST Ryan Castellucci :nonbinary_flag: from my git aliases
# git add --patch, but it works with new files too
pa = "!f(){ cd \"${GIT_PREFIX-.}\"; git add -N \"$@\" && git add -p \"$@\"; };f" -
Embed this notice
daniel:// stenberg:// (bagder@mastodon.social)'s status on Friday, 26-Jan-2024 02:02:16 JST daniel:// stenberg:// -
Embed this notice
Filippo Valsorda :go: (filippo@abyssdomain.expert)'s status on Friday, 26-Jan-2024 02:02:18 JST Filippo Valsorda :go: @icing oh it’s probably top 3 things that make git work for me. Lets me do a cursory review of everything I’m committing and encourages well scoped commits. Also works well with git-revise.
-
Embed this notice
Stefan Eissing (icing@chaos.social)'s status on Friday, 26-Jan-2024 02:02:20 JST Stefan Eissing @filippo never used that. Have to give it a try.
-
Embed this notice
Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Friday, 26-Jan-2024 02:11:06 JST Ryan Castellucci :nonbinary_flag: @bagder @filippo @icing I pretty much always use it instead of git add
-
Embed this notice