A
A
Alexey Bespalov2019-08-15 13:23:58
git
Alexey Bespalov, 2019-08-15 13:23:58

How to defeat the "fatal: not a git repository:" error?

I execute in the console on windows server 2012 the code:

[email protected] e:\trade-git
$ git clone https://[email protected]/tg-alterra/trade.git .
Cloning into '.'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.

[email protected] e:\trade-git
$ git status
fatal: not a git repository: 'E:\trade-git'

[email protected] e:\trade-git

Those. daddy .git is created. But the commands in the console do not see it.
Tell me what else needs to be configured, on a working computer, the git works without problems. And on the server such error.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question