So, how is Github a great tool for designers/UI/UX/etc etc people as well as for coders? Well, it will track changes to ALL of your files. However, there is a couple tricks you need to know before expecting it to behave in a way that is friendly to all your front-end graphics.
As we all, or most of us anyway, know you can track changes to your front-end markup and css files via Git and github. But, what about your image files? Well if you have been having trouble with those in the past there is an option you can employee that will make your life 1000 times easier when working on that next theme/skin. In your git repo add a .gitattributes file with the following:
(I'm sure there is a few I missed)
What this will do is preserve your images as is and not prevent them from being opened in your fav photo manipulation software the next time you need to edit them
As we all, or most of us anyway, know you can track changes to your front-end markup and css files via Git and github. But, what about your image files? Well if you have been having trouble with those in the past there is an option you can employee that will make your life 1000 times easier when working on that next theme/skin. In your git repo add a .gitattributes file with the following:
Code:
# Set binary
*.png binary
*.jpg binary
*.gif binary
*.tgz binary
*.zip binary
*.tar.gz binary
*.ttf binary
What this will do is preserve your images as is and not prevent them from being opened in your fav photo manipulation software the next time you need to edit them
Last edited: