If I delete a file in PhpStorm it is automatically staged in git. I would like to do the staging by hand (git add/rm) when ever I am ready.
How can I prevent PhpStorm from automatically stage files if I delete them in PhpStorm?
Like if I delete the files anywhere else it works correctly.
The option is under Settings > Version Control > Confirmation
. You can configure the behavior for adding and deleting files independently.
Add/remove silently
is selected, git add/rm is staged automatically. Do not add/remove
is the option you are looking for. Show options before adding/removing from version control
to decide each time whether PhpStorm should stage the change.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With