Question

I am developing in the 'master' branch and want to copy some files from 'feature-1'. How can I do that with TortoiseGit?

(I am not interested in command-line solutions.)

Was it helpful?

Solution

  1. tortoisegit -> show log..
  2. in the upper part of window, select the commit (click all branches if necessary) you want the file from
  3. copy file(s) from revision to where?
    • into workdir: select the file(s) you want, right-click -> revert to this revision
    • single file anywhere: select single file, right-click -> save revision to...
    • many files (that are not same as in work dir) anywhere, with directories: right-click the commit, select Compare with working copy, select file(s), right-click, export selection to..."
    • everything in a single commit (as zip): right-click commit, select export this version..
    • ..or just use the command line, it's easier.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top