Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8083427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:28:14+00:00 2026-06-05T17:28:14+00:00

I was hoping you folks could recommend a best practice for source controlling binary

  • 0

I was hoping you folks could recommend a “best practice” for source controlling binary assets for a Rails site in git.

My main concern is that as we work on the site, constantly adding and removing 500kb+ images from our git repo, the repo will eventually get pretty fat and unwieldy and we’ll either have to manually remove those images from history (prone to disaster, as far as I can tell) or put up with a long initial download and extra wasted space on disk.

What are some alternatives for separating the app’s logic from the assets? Git submodules? Anything else?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:28:17+00:00Added an answer on June 5, 2026 at 5:28 pm

    It seems this is pretty well covered elsewhere on SO and elsewhere. A start (after 5 seconds of searching):

    • On how binary files are tracked: http://osdir.com/ml/git/2009-04/msg01221.html
    • Seemingly relevant: Managing large binary files with git

    If you’re really seeing bloat in your repo and are wanting to keep the main rails app repo free of this, you can look into git submodules – all changes to the images would be kept within a separate assets (for example) repo, keeping your main repo free of incurred bloat.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hoping some learned Rails developers here can recommend an existing Ruby on Rails plugin
I was hoping that folks on the forum could help me with something I
im hoping someone can help me quickly with a question i have. As site
Was hoping I could get a bit of a hand on this login that
I'm hoping to hear from a cross-section of folks who have SharePoint installed at
I am hoping some smart folks can help me here. I'm out of my
Hey folks, hoping you can help me get started with IronRuby. I have several
Hoping that someone could post an example of a custom function which acts similar
Hoping there's been a best practices way to accomplish this so far. Basically, I'm
I'm relatively new to Subversion, hoping to get some insights from more experienced folks.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.