Back to articles

Tag archive

#gitstash

A
Dec 21, 2022

Apply changes from one branch to a newer branch created from MAIN or MASTER branch using GIT STASH

CASE: We sometimes tend to forget to checkout to a newer clean branch created from the master branch (yes, I did that) and make changes in the same branch which we currently are. Then we suddenly realize the new changes must be in the newer branch (yes I did realize that when I made that mistake). For that, we have GIT STASH to the rescue

Dec 21, 20222 min read2 reactions0 comments