git reset -q HEAD --
(source (via)) belongs in this list:
|
1. `git restore --staged` (https://stackoverflow.com/a/16044987[source^]), |
|
1. `git reset HEAD` (https://stackoverflow.com/a/6790291[source^]), |
|
1. `git reset` (https://stackoverflow.com/a/6790285[source^]), |
|
1. `git restore --staged --` (https://github.com/iain/dotfiles/commit/4c8f8cf7b849d723cbd0e029457dd24c42ea6263[source^]), |
|
1. `git reset HEAD --` (https://stackoverflow.com/a/5798967[source^]), |
|
1. `git rm --cached` (https://stackoverflow.com/a/5798967[source^]), |
|
1. `git reset --` (https://stackoverflow.com/a/6919257[source^]), and even |
|
1. `git rm --cached -- # ffs` (https://stackoverflow.com/a/30231316[source^]). |
It’ll require manually updating:
|
There are at least eight ways to unstage files in a Git repository. |