Created
November 14, 2013 10:08
-
-
Save lerua83/7464425 to your computer and use it in GitHub Desktop.
GIT - How to get just one file from another branch URL: http://stackoverflow.com/questions/2364147/how-to-get-just-one-file-from-another-branch
I am using git and working on master branch. This branch has a file called app.js .
I have an experiment branch in which I made a bunch of changes and tons of commit. Now I want to bring all the changes …
This file contains hidden or 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
git show experiment:path/to/app.js | |
git show experiment:path/to/app.js > path/to/app.js /* In order to copy the file of expermient branch to our current branch */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment