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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:06:19+00:00 2026-06-10T06:06:19+00:00

I followed this post to setup a remote git repo. Instead of starting from

  • 0

I followed this post to setup a remote git repo.

Instead of starting from scratch,

  1. I did some development in my pc1 (the repo was created with git init)
  2. Now, I wanted to move the repo to a server (same subnet)

    ssh git@example.com
    mkdir my_project.git
    cd my_project.git
    git init --bare

  3. Then, locally

    cd my_project
    git remote add origin git@example.com:my_project.git
    git push -u origin master

Now, in remote (server) repo, I see these folders

branches config description HEAD hooks info objects refs

I was expecting/want to see the same content as my local (pc1) git repo

bin doc src

  • 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-10T06:06:21+00:00Added an answer on June 10, 2026 at 6:06 am

    You initialized a bare repository on the remote side. What this means is that it stores the history, but doesn’t have a working directory (translation — no actual checkout of the project). The structure you’re seeing is normal.

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

Sidebar

Related Questions

I hate starting a post with this but I'm new to Java... I've followed
I have followed the suggestions from this post to try and get Distinct() working
I have followed the Accepted Answer's instructions from this post as regards creating a
I followed this post http://neurochannels.blogspot.com/2010/05/how-to-run-r-code-in-matlab.html , to install R(D)Com server in order to call
I followed this post to make my section header animate out of view when
I followed the instructions in this post and this fiddle but I am confused
I followed the directions in this post: how can we integrate jquery autocomplete using
I'm trying to upgrade to Node v0.6.17. I followed the instructions in this post:
Followed this question about delayed_job and monit Its working on my development machine. But
first time trying XNA Framework in C#.. followed this tutorial: http://www.uxmagic.com/blog/post/2010/08/17/e2809cHello-Worlde2809d-for-XNA-Game-Studio-40.aspx Everything's ok until

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.