Meir
Meir

Reputation: 2050

git ignore folder changes but still sync

I am working on an Android project that I sync with git. I imported Google and Facebook Sdks. I want the push to push the sdks so that they are shared, but not to track all the changes in the cache and such. Is there any way to do this?

Thanks

Upvotes: 0

Views: 1064

Answers (1)

Peter Lundgren
Peter Lundgren

Reputation: 9217

You need a .gitignore. You can add any number of rules to this file specifying files that git should ignore completely.

https://help.github.com/articles/ignoring-files

Upvotes: 2

Related Questions