Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変更された行のいくつかを でステージングしましたgit add --patch。
git add --patch
後でこれらの行を変更しました。
で再度選択せずに同じ行をステージングするにはどうすればよいgit add --patchですか?
これは不可能であり、これをスクリプト化する価値のある簡単な方法はないと思います。git add -pプロセスをもう一度実行することをお勧めします。
git add -p