git - Smartgit: Moving local changes from stash to branch -


i have local changes have stored in stash. have (afterwards) created new branch , want push changes stash branch. smartgit: local > apply stash.

when try smartgit asks me: restore index (checkbox), this? should select or not?

enter image description here

the restore index option result in git stash apply --index. according the git man page, means:

if --index option used, tries reinstate not working tree’s changes, index’s ones. however, can fail, when have conflicts (which stored in index, therefore can no longer apply changes originally).

so, in general, yes, should try apply stash having option enabled.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -