In TortoiseGit, how do I “copy” certain files from a local branch?
-
01-10-2019 - |
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.)
Solution
- tortoisegit -> show log..
- in the upper part of window, select the commit (click
all branches
if necessary) you want the file from - 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.
- into workdir: select the file(s) you want, right-click ->
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow