How to use VCS (git) to save output binary files

That's completely backwards. The concepts behind git literally couldn't be any simpler. It's the command-line interface, options and nomenclature that are difficult, they're just chaotic.

Learn the git internal object model and everything else starts to make sense.

Reply to
Clifford Heath
Loading thread data ...

The best way to deal with clutter is to not run your builds inside of a VCS repository. Use the lndir command to create a image of your repository and run your tools in there.

For example if your repo is named foo.

mkdir foo_cmp cd foo_cmp lndir ../foo .

foo_cmp is an exact image of foo. The only difference is that where foo has the real files, foo_cmp will have symbolic links back to the real files.

Run your build in foo_cmp. All generated files will stay in foo_cmp and never appear in foo. Your "make clean" routine only has to rm the foo_cmp directory and rebuild it.

It's clean simple and less work than maintaining all those makefiles.

John Eaton

--------------------------------------- Posted through

formatting link

Reply to
jt_eaton

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.