Git - Stash


stash Stash the changes in a dirty working directory away


Before a pull to integrate the remote changes

git stash # keep the modification in a stash branch
Saved working directory and index state WIP on branch name: 17e7b33 Commit message
git pull # get the last one
git stash pop # Destash the modification

Powered by ComboStrap