0

I am developing in the feature/porting_to_ubuntu branch.

I want to checkout the tests/test_setting.xls Excel binary file from feature/change_excel_format branch.

How do I restore a previous file?

enter image description here

Metalskin
  • 3,998
  • 5
  • 37
  • 61
newBike
  • 14,385
  • 29
  • 109
  • 192
  • What GUI client are you using? – ChrisGPT was on strike Jan 21 '14 at 03:50
  • Very easy to find on Google. http://nicolasgallagher.com/git-checkout-specific-files-from-another-branch/ - Command line though. You didn't tell us what GUI you are using. – RyPeck Jan 21 '14 at 03:52
  • possible duplicate of [How to get just one file from another branch](http://stackoverflow.com/questions/2364147/how-to-get-just-one-file-from-another-branch) – First Zero Jan 21 '14 at 04:02

1 Answers1

0

The command is git checkout feature/change_excel_format -- tests/test_setting.xls

First Zero
  • 21,586
  • 6
  • 46
  • 45