doctor: add -u flag to suggested git stash command

This commit is contained in:
Krasimir Nedelchev 2022-12-04 11:59:15 +02:00
parent 93660d3de4
commit 92c7ede025

View File

@ -672,7 +672,7 @@ module Homebrew
If this is a surprise to you, then you should stash these modifications. If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason. should you later need to do so for some reason.
cd #{path} && git stash && git clean -d -f cd #{path} && git stash -u && git clean -d -f
EOS EOS
modified = status.split("\n") modified = status.split("\n")