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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:54:49+00:00 2026-06-09T15:54:49+00:00

This command works to get the files and compile them: git clone a-valid-git-url for

  • 0

This command works to get the files and compile them:

git clone a-valid-git-url

for example:

git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts

However, git status (or any other git command) then gives the above fatal: Not a git repository (or any of the parent directories) error.

What am I doing wrong?

  • 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-09T15:54:50+00:00Added an answer on June 9, 2026 at 3:54 pm

    You have to actually cd into the directory first:

    $ git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts
    Cloning into 'liggghts'...
    remote: Counting objects: 3005, done.
    remote: Compressing objects: 100% (2141/2141), done.
    remote: Total 3005 (delta 1052), reused 2714 (delta 827)
    Receiving objects: 100% (3005/3005), 23.80 MiB | 2.22 MiB/s, done.
    Resolving deltas: 100% (1052/1052), done.
    
    $ git status
    fatal: Not a git repository (or any of the parent directories): .git
    $ cd liggghts/
    $ git status
    # On branch master
    nothing to commit (working directory clean)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This sql command works fine in sqlitemanager but in my android application this don't
My problem can be summed up by making this simple command works : nice
Can anyone convert this curl command that works in command line to php code
Has anyone seen this: ?? No jgem command works at all?? Though jruby -S
this is the curl code that works in command line : $ curl -F
thank you for reading. For a shell command to wget, something like this works:
This is my Makefile: REBAR=./rebar REBAR_COMPILE=$(REBAR) get-deps compile all: compile compile: $(REBAR_COMPILE) test: $(REBAR_COMPILE)
I'm trying to compile a project from the command line, like this: devenv.exe myproj.sln
Why this curl command does not work in CMD. It should downlaod a html
I can't figure out why this simple update command won't work: private void button1_Click(object

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.