#TIL 2 - Create and apply git patch from a commit hash

Create a patch from master then apply to work branch
git checkout master
git format-patch -1 COMMIT_HASH
git checkout WORKING_BRANCH
git am FILE_PATH
I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.
Create a patch from master then apply to work branch
git checkout master
git format-patch -1 COMMIT_HASH
git checkout WORKING_BRANCH
git am FILE_PATH