To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask, run:
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask && git stash pop
Check what stash it had
git stash list
Here is what I got, there are quite a few.
stash@{0}: WIP on master: 3d7d04ec59 Update chromium from 884203 to 886135 (#106276)
stash@{1}: WIP on master: 53d3af8240 Update chronosync from 4.9.9 to 4.9.10 (#83799)
stash@{2}: WIP on master: 2b3b5563d8 Update Proxyman 1.10.0 (#73631)
stash@{3}: WIP on master: 1ce51f8c9 update metasploit to 5.0.63,20191203113729 (#73630)
stash@{4}: WIP on master: f29463d0e Update OpenKey from 1.5 to 1.5.1 (#69351)
stash@{5}: WIP on master: 4142df052 Update movist-pro from 2.2.7 to 2.2.8 (#68633)
stash@{6}: WIP on master: cdd2b41f0 release v4.6.0 (#64707)
stash@{7}: WIP on master: 16681b958 Update soulver.rb (#64700)
stash@{8}: WIP on master: 6dbb7768f Update applepi baker (#64383)
stash@{9}: WIP on master: b3baca7c1 Update netnewswire to 5.0d8 (#58050)
stash@{10}: WIP on master: 2d5950743 Update mu-editor to 1.0.2 (#57561)
stash@{11}: WIP on master: 5b5513f96 Remove cog (#57551)
stash@{12}: WIP on master: 70191f81a Update 1password-cli to 0.5.5 (#56716)
stash@{13}: WIP on master: 362c25c05 Updated bunqcommunity-bunq to 0.9.2 (#55397)
Err… I don’t think I need it, right? Be brave….I will clear all those stash
git stash clear
I got empty list when I run the list command again
git stash list
Exit the terminal and lets try brew update, and its clean, yes!
$ brew update
Already up-to-date