Last active
December 15, 2015 06:59
-
-
Save lirenlin/5220400 to your computer and use it in GitHub Desktop.
git checkout the file from last commit into new file
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
git show branch:path_to_file > newFile | |
git show HEAD:path_to_file > newFile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment