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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:14:35+00:00 2026-06-16T03:14:35+00:00

I have been hosting bare repositories in my Home local server (Mac Mini). It

  • 0

I have been hosting bare repositories in my Home local server (Mac Mini).

It has been performing really slow (maybe due to lack of git optimization for large files)

So to solve this problem, I’m thinking to move my bare repo to BitBucket private repository. Just to give it a try.

When I tried to import to bitbucket from my bare repository. It has many problems, such as it only imports my staging branch.

and when I do

git branch

on the git bare repo directory
it only shows my staging in my branch list.
then I do git fsck --full.
it shows many errors related to pack.
another problem is that inside the git bare repo directory, I found another folder that has the same name as the repo directory itself. for example: my repo directory name is repo.git/. this continues to repo.git/repo.git/repo.git/repo.git.

From these problems, I think I screwed up my bare repository badly. So I’m thinking to remove this bare repo and do the import to bitbucket from my normal/non-bare repository.

So my question is:
is there any difference even any small difference, to import from bare repository and to import from non-bare repository?

thank you in advance.

  • 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-16T03:14:36+00:00Added an answer on June 16, 2026 at 3:14 am

    is there any difference even any small difference, to import from bare repository and to import from non-bare repository?

    No, providing that your bare repo had all your branches.

    Pushing from a (non-bare) repo is explained here:

    If you want, you can push several branches at once to your Bitbucket repository. To do this, do the following:

    • List all the branches to make sure you have what you want:
      git branch -a
    • Make sure the remote origin in your local repository points to Bitbucket.
      For example, if you are using ssh with Bitbucket, you would use the following:
      git remote set-url origin ssh://git@bitbucket.org/youraccount/reponame.git
    • Then push all the branches to Bitbucket:
      git push -u origin --all.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been struggling with this problem on hostgator shared hosting server for the
I have been attempting to set up magento on a shared hosting server that
I have a server hosting by Blueshot. I have been using php to get
I am currently moving into the web-hosting league. I have to far been adding
I have been working with SQL Server as a Developer a while. One thing
I have been using TortoiseSVN for some time and I really like it. I
I've been on shared hosting for a long time and have been running the
I have been developing a nodejs server to provide server-side-events for a new website
I have been conmunicating with my current hosting provider. They say they support .net4
I have been doing some catching up lately by reading about cloud hosting. For

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.