GIT Exclude Specific Files when Pushing to Specific Repository

Posted by Kevin Sylvestre on Stack Overflow See other posts from Stack Overflow or by Kevin Sylvestre
Published on 2010-03-19T17:07:26Z Indexed on 2010/03/19 17:11 UTC
Read the original article Hit count: 319

Filed under:
|
|
|

Is it possible to exclude specific files (*.ai, *.psd) when pushing to certain repositories with GIT?

My need comes from trying to use GIT for both version control and deployment to Heroku. If I include my graphic assets in the deploy, they slug size is larger than desired. However, I do need to include all project files in my main github repository.

Thanks,

Kevin

© Stack Overflow or respective owner

Related posts about git

Related posts about ruby-on-rails