Robotics StackExchange | Archived questions

Should the autogenerated /install folder in a catkin workspace be committed to VCS?

Hello,

I have recently created a catkin workspace and added a catkin package to it. When I installed the package using catkin_make install, an /install folder was automatically generated.

Should I add this folder to my version control?

Thanks, Erinc

Asked by erugo on 2019-08-01 03:53:40 UTC

Comments

It seems @Procópio has already posted an answer, but your question is really a duplicate of #q264600 and some others linked from that Q&A.

Could you please try and search for older Q&As -- or if you have: please mention the search/keywords you've used in your searches.

If @Procópio agrees, I would suggest to close this as a duplicate.

Asked by gvdhoorn on 2019-08-01 06:21:45 UTC

Hi @gvdhoorn, in my search text, I have included words like git, vcs, and install. I did not come up with a prior answer, thanks for recognizing the duplicate.

Asked by erugo on 2019-08-01 06:24:26 UTC

thanks @gvdhoorn, closing due to duplicate.

Asked by Procópio on 2019-08-01 10:51:19 UTC

Answers

Usually you only want your source code to be under version control. So not even your catkin workspace, nor the build, devel or logs that are generated after a compilation.

In your version control you want the minimal stuff needed to compile a code.

Asked by Procópio on 2019-08-01 04:28:55 UTC

Comments