Created
July 16, 2018 16:50
-
-
Save radiotaiso/e7a579ada7588201d82e2e24a2f49ce7 to your computer and use it in GitHub Desktop.
Pull a specific file from another branch.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On branch master | |
git checkout gh-pages # Move to the branch you wanto to pull the file to | |
git checkout master -- myplugin.js # pull the file from | |
git commit -m "Update myplugin.js from master" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment