Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

Github, yes it's for designers too.

Tyrsson

Retired Staff
Retired Staff
Joined
Apr 29, 2023
Messages
402
Website
github.com
Credits
1,098
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:
Code:
# Set binary
*.png binary
*.jpg binary
*.gif binary
*.tgz binary
*.zip binary
*.tar.gz binary
*.ttf binary
(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 ;)
 
Last edited:

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Activity
So far there's no one here

Users who are viewing this thread

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 5 20.8%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 19 79.2%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds