Skip to content

Instantly share code, notes, and snippets.

@telnet2
Created April 30, 2018 19:01
Show Gist options
  • Save telnet2/0f5234efec9caddd012744005ba7204c to your computer and use it in GitHub Desktop.
Save telnet2/0f5234efec9caddd012744005ba7204c to your computer and use it in GitHub Desktop.
Git checkout file from another branch
git checkout anotherbranch path/to/file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment