Skip to content

Instantly share code, notes, and snippets.

@woodphil
Created February 23, 2016 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodphil/fe9477b0d1365ab385ce to your computer and use it in GitHub Desktop.
Save woodphil/fe9477b0d1365ab385ce to your computer and use it in GitHub Desktop.
committing specific files from a branch
git checkout master
git checkout <target_branch> <paths>
ex:
git checkout cool_feature cool_new_file1 cool_new_file2
git commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment