Just wanted to understand if the git reset --hard origin/master command affect my stash stack. I am yet to try this out but I do not want it to reset my stash as I have some changes I want to apply after my branch is reset.
Just wanted to understand if the git reset --hard origin/master command affect my stash stack. I am yet to try this out but I do not want it to reset my stash as I have some changes I want to apply after my branch is reset.
The hard reset command you showed above would move the HEAD pointer of whatever the current branch might be to origin/master, but it would not affect the stash commits, which are stored in .git/refs/stash.