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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:15:41+00:00 2026-05-23T09:15:41+00:00

I’m certain that I’m missing something fundamental here, but I’ve received a drop of

  • 0

I’m certain that I’m missing something fundamental here, but I’ve received a drop of an application stored in a git repository. It has folders like: branches, hooks, objects, etc, but no actual source files.

When I open up git bash and cd into that folder, the title says “(BARE:master)”.

I assume I just need to somehow clone a local reposisitory from that folder. Ultimately, I just need access to the actual source files in the repository, but I’m surely missing some concept as I’m somewhat new to git.

Any hints or help on how I can get this set up locally would be appreciated.

edit: when I try to clone from that directory I receive the following error

$ git clone c:/Users/Joel/Dropbox/TheProjectDirectory.git
Cloning into LocalProjectFolder ...
fatal: 'c:/Users/Joel/Dropbox/TheProjectDirectory.git' does not appear to be a git
 repository

fatal: The remote end hung up unexpectedly
  • 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-23T09:15:41+00:00Added an answer on May 23, 2026 at 9:15 am

    It is bare repository what you have.

    The simplest way to get sources is to clone it via git clone /path/to/your/bare/rep

    The bare repositories is something like shared repository, where work from several developers get gathered. For developer box you most probably want non-bare one.

    There’s a chapter about cloning repositories.

    EDIT:
    So, I have some git repository on my box. So I’ll try to emulate your situation. First I’ll clone my repository as bare one:

    idanilov@IDANILOV-PC /d/test
    $ git clone --bare /d/work/gittesting/ bare.git
    Cloning into bare repository bare.git...
    done.
    
    idanilov@IDANILOV-PC /d/test
    $ cd bare.git/
    
    idanilov@IDANILOV-PC /d/test/bare.git (BARE:master)
    

    So here I have bare.git repository like you have your shared folder. Now I will clone it to have some working directory with actual sources:

    idanilov@IDANILOV-PC /d/test/bare.git (BARE:master)
    $ cd ..
    
    idanilov@IDANILOV-PC /d/test
    $ git clone bare.git/ my-non-bare-dev-rep
    Cloning into my-non-bare-dev-rep...
    done.
    
    idanilov@IDANILOV-PC /d/test
    $ cd my-non-bare-dev-rep/
    
    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    

    Now I have folder my-non-bare-dev-rep and all files from repository are there. It is you working copy. String (master) is the hint for you that you are in the master branch now.

    Then I’ll emulate some work in my working copy.

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ echo 'my new text' > text-file.txt
    

    I want to see changes I have in working copy comparing with the version I got from shared rep:

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ git status
    # On branch master
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       text-file.txt
    nothing added to commit but untracked files present (use "git add" to track)
    

    Now I will add this text file to so-called stage area (or sometimes it is called index). It is the term to describe a set of changes that will be committed when git commit command is executed.

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ git add text-file.txt
    

    Well now text-file.txt is in the stage area. But it is still not committed. It is time to do this:

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ git commit -m 'my commit from dev repo'
    [master c0b0bd8] my commit from dev repo
     1 files changed, 1 insertions(+), 0 deletions(-)
     create mode 100644 text-file.txt
    

    So. Now it is stored in my local repository. In the .git folder actually. But it is still not went to shared repo so that my colleagues also see it. For this I need to do a push:

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ git push origin
    Counting objects: 4, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (3/3), 290 bytes, done.
    Total 3 (delta 1), reused 0 (delta 0)
    Unpacking objects: 100% (3/3), done.
    To d:/test/bare.git/
       d01886b..c0b0bd8  master -> master
    

    origin is a standard name git gives to parent when you did a clone. So as I did clone from bare.git – my changes just went there.
    And finally to get updates from shared folder into your local repository you have to execute pull command:

    idanilov@IDANILOV-PC /d/test/my-non-bare-dev-rep (master)
    $ git pull
    Already up-to-date.
    

    I don’t have any changes pushed to bare.git from other places, so my local rep is up-to-date. And git told me so.

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

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Basically, what I'm trying to create is a page of div tags, each has
Seemingly simple, but I cannot find anything relevant on the web. What is the
I need to clean up various Word 'smart' characters in user input, including but
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

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.