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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:59:46+00:00 2026-06-11T08:59:46+00:00

In a public repository, when you allow people to pull a branch: How do

  • 0

In a public repository, when you allow people to pull a branch:

How do you allow them to have access to your database (any of your databases for that matter) i.e. put the connection codes in, without letting them know your credentials?

If people want to help with your site and need to access your database, what’s used to secretly grant them access, if the site needs that database to function? do they just need to donwload a local copy of the database?

For example, when someone pulls the code for stackoverflow, do they also include a scrubbed version of the database to play with?

  • 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-11T08:59:47+00:00Added an answer on June 11, 2026 at 8:59 am

    Generally speaking the information in the database is not relevant when you are pulling down code, only the schema and possibly lookup tables. Nothing more than this would generally be kept in a repository. With regards to connecting to the database, most projects will .gitignore the actual configuration file, but have something like a config.dist file, that will contain a blueprint for the configuration. The user can then clone the project, either import the database, or more likely run a migration / install script, then copy and update the config template with the account details for the database on their system. Again this step will often be done by an install script.

    The exact use case will vary, but there are many examples in the PHP world such as the symfony2 project on GitHub.

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

Sidebar

Related Questions

Is it possible to use a public repository like github and have a branch
i have the following action method that calls a repository method:- public ActionResult Details(int
I have following repository: public function findClassPhotoByPath($path) { return $this->getEntityManager() ->createQuery('SELECT p FROM KSRGalleryBundle:Photo
I have the following Repository: Public Class PageRepository Private Shared _pages As BLL.PageCollection Shared
I have the following generic repository: public class GenericRepository<TEntity> where TEntity : class {
I have a repository like: public class Repository<TEntity> : IRepository<TEntity> where TEntity : class,
I have the following ADO .Net Repository public class Repository : IRepository, IDisposable {
If use MongoRepository, You can have following code: @Repository public interface UserRepo extends MongoRepository<User,
We face currently the problem to allow people access to parts of a subversion
I setup public key access to my server via ssh. I have a .ssh

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.