Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git tips and tricks
// 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