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 8885595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:20:52+00:00 2026-06-14T21:20:52+00:00

I have recently started developing a new library, and use Git for revision control.

  • 0

I have recently started developing a new library, and use Git for revision control. I decided to follow the immensely popular blog post A successful Git branching model to manage branching. It is about time for me to make my first release, and I would like some advice on managing specific sets of files as I describe below.

On the develop branch and feature branches, I want all the “supporting files”, such as the makefile used for compilation and the readme.md file used by doxygen to generate documentation. (Note these are just a couple of examples. I have many more “supporting files”.)

The blog post also says that a commit to master branch is a release by definition. I want the release to include all the “binary files” (which includes, for example, the object files resulting from compilation and the html files containing the documentation). These files should be committed to the master branch, so that customers could just clone from the repository with the tag and get the required release.

I prefer not to have the “supporting files” in the release (since I don’t want to give the customers heaps of files they don’t want or cannot use). Similarly, I prefer not to have the “binary files” be version-controlled in the develop and feature branches. Thus, I want to commit one set of files to develop, and another set of files to master. (Of course, there’s also a set of files which are “common” to both branches.) However, I am skeptical about keeping the master and develop branches out of sync as just described.

Does my proposed model sound good? If so, how should I deal with having different files committed to develop and master? Is there a better way to handle this situation?

I have gone through each one of the comments on the said blog page, searched the internet, and also searched here on StackOverflow. From the search results, this post GIT repositories with some different files seems to be the only one anywhere close to my question. Neither of these helped me figure out the solution.

  • 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-14T21:20:53+00:00Added an answer on June 14, 2026 at 9:20 pm

    IMO the proposed solution is not good. A common solution to your problem is:

    • version control all “supporting files.” If you care whether these file are modified or deleted then they should be under version control
    • don’t version control “binary files,” if they are simply generated by the compilation process. The code that is compiled and the Makefiles are what matter. You might possibly have binary files in say a ‘bin’ folder if they are used to compile the code.
    • create a build process around the package that you want to deliver to the client. You can either build a package for the client which they can access, or you can have them run your “package script” themselves. The “package script” can clone the repo, build the package, and delete the repo just by executing it on the command line.

    To learn more about the git branching model and and how they apply to development check out http://git-scm.com/book/en/Git-Branching

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

Sidebar

Related Questions

I've recently started a new job where I have taken over developing an existing
I have recently started to use Twitter Bootstrap and trying to understand how it
So we have recently started developing applications for the iPad for our company. Unfortunately
We are developing webapps with Eclipse + Tomcat plugin. We recently started a new
I recently started developing websites on wordpress. I have this problem with tinymce editor.
I've just recently started developing a site for iPhone using jQTouch, and have the
I have started developing a webpage and recently hired someone to write code to
I have recently started a new C++ project and I intend to make it
I have recently started on a PoC project wherein we are developing a small
Recently, I have started using Xcode 4 for developing iOS apps. In Xcode intellisense's

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.