Git Stash -> Git Pop
Robb Andrew
1 min read
Working on the wrong branch and you haven't commited anything yet...
git stash
git checkout branch-you-want-to-work-on
git stash pop
For years I've been copying changes over, fortunatley I don't go too long without a commit.
0
Subscribe to my newsletter
Read articles from Robb Andrew directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by