Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to stash a specific file in specific branch

#to make git stash not the whole branch but for a specific file.
#git stash push -m <the specific branch name> <the specific file directory i.e:"app/views/cart/welcome.thtml">
git stash push -m welcome_cart "app/views/cart/welcome.thtml"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stash #specific #file #specific #branch
ADD COMMENT
Topic
Name
5+9 =