789 posts Magento Elite & Gravity Maker
  • Elite Author
  • Author Level 8
  • United States
  • 5 Years of Membership
+4 more
GravityDept
says

I’ve been doing research on this and opinions seem pretty divided. If you’re using git to track development of your products, what are you keeping in the repo besides code?

Icons? Small images? PSD, FW-PNG, or AI files? Fonts? I’m not talking about content images, but any binary assets you might need to deploy the site or get a new developer’s environment set up. You’d need everything right?

Are there realistically problems with the repo bloating, or rebasing crashes on binaries? Any thoughts are appreciated.

396 posts
  • Power Elite Author
  • Author Level 12
  • Top Monthly Author
  • Trendsetter
+8 more
pixelgrade
says

Hi. We keep just the theme on github. The rest of the assets go to Google Drive.

257 posts
  • Beta Tester
  • Copyright Ninja
  • Featured Author
  • Feedback Guru
+10 more
prestahome
says

Just use Dropbox or GDrive. Git is not an option for files like .psd, .jpg, why? For example – you can’t merge image files. I am using Git for theme and Dropbox for all of assets and “Start project” files.

789 posts Magento Elite & Gravity Maker
  • Elite Author
  • Author Level 8
  • United States
  • 5 Years of Membership
+4 more
GravityDept
says

What if you need to compare two releases?

Seems like it would be tedious and error-prone to match up the binary assets to GDrive / Dropbox manually. Those systems also wouldn’t tell you when an asset changed, and you’d essentially be storing copies for every release. That wouldn’t really be any different than just keeping a folder of all your releases zipped up (which I already do).

The main reason for putting all assets into git would be collaboration. If you have several developers making changes to icons, for example, you might need to revert at some point or trace what has changed. Without the source files in version control it’s really possible to manage that across different developer’s computers.

1095 posts Best-dressed man at PressNomics 2013
  • United States
  • Power Elite Author
  • Top Monthly Author
  • Trendsetter
+13 more
Parallelus
says

We keep just our themes in a Github repo. Dropbox has been our shared file storage but I’m probably going to try something else. I’m not very impressed by Dropbox. All I ever really notice about it is the limitations.

501 posts
  • Affiliate Level 7
  • Author Level 10
  • Collector Level 2
  • Top Monthly Author
+10 more
pixelentity
says

Everything but psd files, they would pollute the git repo too much imho.

by
by
by
by
by
by