Skip to content

Instantly share code, notes, and snippets.

@tedbow
Created March 23, 2016 21:03
Show Gist options
  • Save tedbow/87d800b47bcb170801f8 to your computer and use it in GitHub Desktop.
Save tedbow/87d800b47bcb170801f8 to your computer and use it in GitHub Desktop.
Checkout directory from git branch
#http://stackoverflow.com/questions/2668886/git-copy-all-files-in-a-directory-from-another-branch
git checkout master -- dirname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment