Using `git add -p` to selectively add hunks to a stgit patch

by topher200
GNU/Linux ◆ screen-256color ◆ zsh 949 views

From this discussion: https://groups.google.com/g/stgit/c/jyFrzq4B1v0

protip: use this alias:

alias srpa='git add --patch && stg refresh --index'