MattDionis
MattDionis

Reputation: 3616

Share gitignored files across team

I recently added typings files to my project so that I get intellisense in VS Code for libraries such as Angular, D3, Underscore, etc.

So my changes in this branch were adding a typings/ folder with relevant typings files, adding typings.json, and adding jsconfig.json. I also added each of these to my .gitignore. So my diff only shows the .gitignore changes. If I merge this into remote master, when other team members pull it down will they have the typings folder, typings.json, and jsconfig.json. I want them to have access to this so they also get intellisense if using VS Code, but I'm not sure if I'm approaching this correctly.

Upvotes: 1

Views: 304

Answers (1)

big_water
big_water

Reputation: 3204

No they will not pull down the files that you listed in gitignore because they will not be pushed up when you commit and push. They will only pull down the changes to the gitignore file. The only way they would get the new "typings" folder and files is if you removed them from your gitignore and checked them into git and then merge your changes into master.

Upvotes: 1

Related Questions