Skip to content

Instantly share code, notes, and snippets.

@freshjones
Created January 22, 2015 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freshjones/274f4bee3ffc3aa28429 to your computer and use it in GitHub Desktop.
Save freshjones/274f4bee3ffc3aa28429 to your computer and use it in GitHub Desktop.
Git cherry-picking specific files from one branch to another
git branch
* master
portfolio_updates
git checkout portfolio_updates <the_file_path(s)>
git status
git reset HEAD .
git status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment