Created
April 29, 2021 12:03
-
-
Save verschuur/c6b4fd385449b12f0f2418fabca16144 to your computer and use it in GitHub Desktop.
Git tips and tricks
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
// Checkout file from stash | |
git checkout stash@{0} -- <filename> | |
// Save file from stash using a different name | |
git show stash@{0}:<full filename> > <newfile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment