In TortoiseGit, how do I “copy” certain files from a local branch?

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

(I'm not interested in command line solutions.)

+6
tortoisegit
source share
1 answer
  • tortoisegit → show log ..
  • at the top of the window, select the commit (click all branches if necessary), you want the file from
  • copy file from version to where?
    • in workdir: select the desired file (s), right-click → revert to this revision
    • one file anywhere: select one file, right-click → save revision to...
    • a lot of files (which are not the same as in the working directory) anywhere, with directories: right-click the commit, select Compare with working copy , select the file (s), right-click, export selection to... "
    • all in one commit (like zip): right click commit, select export this version..
    • .. or just use the command line, it's easier.
+6
source share

All Articles