Last Updated: February 25, 2016
·
2.478K
· havvg

$ git stash save -p "message"

Similar to git add -p but creates a stashed commit instead with the message as its name.

 ormigo git:develop ✗ ≠ git stash save -p "HavvgSearchBundle"
 ormigo git:develop ✗ ≠ git stash list
stash@{0}: On develop: HavvgSearchBundle
 ormigo git:develop ✗ ≠ git stash show stash@{0}
 .gitmodules       | 6 ++++++
 app/AppKernel.php | 1 +
 app/autoload.php  | 1 +
 deps              | 8 ++++++++
 deps.lock         | 2 ++
 5 files changed, 18 insertions(+)