Git ‘cherry-pick’ individual file

Today the situation came up where I wanted the latest of a file in another branch. But only that file. Didn’t want to merge and reject so that get’s rid of cherrypick and merge as options.

Luckily there is a way to do this just using the checkout command.

git checkout feature/meow Source/Cat.cs


Sauce :

  1. No comments yet.

  1. No trackbacks yet.