(Git) Detailed stash commands
-
Stash all unstaged updated files with customized message:
git stash save <STASH_MESSAGE>
-
Stash only specific subset of updated files:
git stash push <FILES_LIST>
- Additionally provide customized message:
git stash push -m <STASH_MESSAGE> <FILES_LIST>
- Additionally provide customized message:
References:
Written on March 15, 2021