What's the difference between git stash save and git stash push?

David Burson picture David Burson · Jun 21, 2017 · Viewed 27.7k times · Source

When should I use git stash save instead of git stash push and vice-versa?

Answer

phd picture phd · Jun 21, 2017

git stash save accepts a single non-option argument — the stash message.

git stash push accepts the message with option -m and accepts a list of files to stash as arguments.