Konstantin Khomoutov <flatw...@users.sourceforge.net> writes:
>> My problem is, that I can not see possibility to checkout files from 
>> another branch, based on a filelist from a text file.
> Once you have a text file with the list of file names,
> just do
>   $ git checkout dev
>   $ while read fname; do \
>     git checkout local_dev "$fname"; done < dev_files.txt

Even shorter:

$ git checkout local_dev $( cat dev_files.txt )

If you're not using bash, use:

$ git checkout local_dev `cat dev_files.txt`


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to