Skip to content

Instantly share code, notes, and snippets.

@dsci
Created December 15, 2011 09:13
Show Gist options
  • Save dsci/1480465 to your computer and use it in GitHub Desktop.
Save dsci/1480465 to your computer and use it in GitHub Desktop.
checkout single file from git branch
git checkout <branch_from_which_file_you_want> <file_path_within_the_repo>
# Check if something has changed
git status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment