git -p status
git -p diff
git add -e filepath

git -p status
git --cached/--staged diff
git -p diff
git add -i [filepath]
git commit -m ""

Follow

git add -i
(it has a diff-staged command built-in)
(as well as status really)
git commit (in another terminal emulator)

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!