GitHub and PSoC Creator Projects

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Do any of you guys use GitHub for your PSoC Creator 3 workspace projects? What do you guys use in your .gitignore file? What files are neccissary and what are not? Not sure if I should ignore the /Generated_Source folder.

   

 

   

I'm currently considering using the below for my .gitignore:

   

 

   
       
         .DS_Store       
      
         *.cywrk.*       
      
         *.cyprj.*       
      
         *.cycdx       
      
         *.cyfit       
      
         *.rpt       
      
         *.uvopt       
      
         *.uvproj       
      
         *_timing.html       
      
         *.cydsn/codegentemp       
      
         *.cydsn/DP8051       
      
         *.cydsn/Generated_Source       
3 Replies
Anonymous
Not applicable

 No one?

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

There is a knowledge base article about that: http://www.cypress.com/?id=4&rID=76644

0 Likes
Anonymous
Not applicable

Looks good.

   

If you want to keep the generated hex file (to get the binary associated with that commit without recompiling):

   
*.cydsn/Generated_Source/(chip name)/* !.cydsn/Generated_Source/(chip name)/*.hex 
   

I found out the hard way, "Archive project" only stores the last 8 versions.

0 Likes