Exclude specific files when pushing to a specific Git 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/20
11:11 UTC
Read the original article
Hit count: 337
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, the 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