Julia Evans on Nostr: some of the problems folks have listed so far with the staging area: 1. there are (at ...
some of the problems folks have listed so far with the staging area:
1. there are (at least) 3 ways to diff and the default feels unintuitive (`git diff` vs `git diff --cached` vs `git diff HEAD`)
2. carefully staging changes with `git add -p` and then running `git commit -a` by accident is annoying
3. if you `git stash` with things in the staging area, staged changes are stashed too (can disable with --keep-index)
would love solutions to #2 if anyone has one
(2/?)
1. there are (at least) 3 ways to diff and the default feels unintuitive (`git diff` vs `git diff --cached` vs `git diff HEAD`)
2. carefully staging changes with `git add -p` and then running `git commit -a` by accident is annoying
3. if you `git stash` with things in the staging area, staged changes are stashed too (can disable with --keep-index)
would love solutions to #2 if anyone has one
(2/?)