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

  • SEARCH
  • Home
  • 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 7060619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:22:28+00:00 2026-05-28T04:22:28+00:00

When I develop code, I typically have a bunch of personal files that I

  • 0

When I develop code, I typically have a bunch of “personal” files that I don’t want to share with other developers because they are peculiar to my own idiosyncratic workflow. These files include personal Makefiles, little test scripts, test data files, etc. This hasn’t been a terrible problem: I just itemize these files in .gitignore and no else needs to be bothered by my squirrelly ways.

All is not utterly copacetic, however. If I clone this repository, for instance, my personal test files do not come along for the ride, and also these files are not versioned. I.e., as the code changes, my test files and scripts and Makefiles need to change along with the code. If I revert to an earlier version of the code, my scripts and test files are now broken. Or if I’m working from home, and I pull from my Git clone on my work computer, these personal files don’t get pulled to my home computer.

So, what would be really keen is if Git had a notion of tracked and shared files as being different from tracked and private files. When I push to a shared repository, the private files would not be pushed, even though Git is tracking them and versioning them for me. And when I clone a repository, I would have the choice of getting only the shared files, or both the shared and private files.

I willing to hazard a guess that I’m just SOL as far as this feature goes, but ya’ never know. Git seems to do just about everything, so maybe it has a way of doing this too, and I’ve just been left out of the loop.

One possible work-around is to make a subdirectory for this stuff (e.g., “dougs-personal-crap”) and tell my coworkers not to mess with it. But I don’t really want to be airing out my dirty laundry so, especially if there’s a better way.

  • 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-05-28T04:22:28+00:00Added an answer on May 28, 2026 at 4:22 am

    I can think only one pretty good way to do this.

    1. Divide all staff to private and public
    2. Move public stuff to XXX repository
    3. Move private stuff to YYY repository
    4. Create a big super repository ZZZ
    5. Add XXX and YYY to ZZZ repository as submodules

    As a result you have repository which contains some public stuff and your private data, scripts etc. You can easily clone your ZZZ repository. Also you can easily share XXX repository. Enjoy!

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

Sidebar

Related Questions

We have several branches of one project that share about half of the code
I want to be able to develop code using Visual Studio 2010. I just
All, We have a PHP project in SVN. We develop code and do SVN
I am using git-svn to develop code that is hosted on a SVN+SSH repository.
I am looking to develop some code that will be able to by looking
I am currently trying to use Eclipse to develop some code that I've been
Currently I have ReSharper installed to help me develop and edit code, and made
I am a Student..and right now trying to develop code for android..that shows nearby
I develop code in our proprietry system using a scripting language that is unique
I typically use Netbeans (but also STS) to develop my Java code but I've

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.