Registered as a Git root, but no Git repositories were found there

Solution 4

If you have git installed and the project is a cloned repo from Github, check if you project folder has the .git folder missing.

$ git init

You may hav lost your .git directory or it may have been corrupted after your initial clone from Github. Some unforseen issues may arise depending on what happened after. So Read below in case of git Push problems:

Solution 5

I have done this and error notification is gone,
Click on Configure,
It will take us to VCS project repository tab,
Here i have selected that project name and clicked on Minus sign in right side,
Now hit Apply and click OK
And doing this my notification is gone.

Registered as a Git root, but no Git repositories were found there

09 : 58

How to setup SSH for GitHub repository

Registered as a Git root, but no Git repositories were found there

07 : 50

Registered as a Git root, but no Git repositories were found there

03 : 08

12 : 05

Git: Moving a sub-directory to a new git repo with ssh

Registered as a Git root, but no Git repositories were found there

01 : 12

Android : Registered as a Git root, but no Git repositories were found there

54 : 51

14 Introduction to GIT, Understand differences between Git & Github, Practice with git clone -github

01 : 25 : 07

Using Git Source Code Control in Delphi and RAD Studio, feat. Ian Barker

05 : 31

Android Studio — Solve Invalid VCS root mapping error, when I import source code?

Registered as a Git root, but no Git repositories were found there

01 : 03

Registered as a Git root, but no Git repositories were found there — Android

32 : 15

0x01 Git — Creating Git Repo alx-pre_course

Registered as a Git root, but no Git repositories were found there

01 : 13

Registered as a Git root, but no Git repositories were found there

09 : 35

Simple steps to change/move the root of your Git source repository

Дополнительно:  Redken rootful 06 root lifting spray отзывы

Comments

There is a .idea folder within the repository which shouldn’t be there. Inside it are vcs related files which might contain a path not on your PC.

Make sure there is a .git folder within the project fold er on your PC. If not then you’ll have to clone the project properly if you need the vcs tools enabled. Here’s a link on how to do that: Git Basics, search for Cloning an Existing Repository​

Then, you’ll need to close Android Studio, delete the .idea folder and then open Android Studio again. It’ll recreate the .idea folder and problem should be resolved.

Solution 1

In my situation I didn’t have to work with git, I just wanted to run the project that I had downloaded and that was prompting me this error

On Android Studio 3.0 I clicked on Configure in the popup window appeared on the bottom right corner

Registered as a Git root, but no Git repositories were found there

Registered as a Git root, but no Git repositories were found there

After this the error should disappear

Solution 3

I wanted to start project by taking pull from git repository.But the same error described poped up during initialization —

So to solve this — —

On Android Studio 3.0, I clicked on Configure in the popup window appeared on the bottom right corner

Registered as a Git root, but no Git repositories were found there

When you click it, this screen will popup-

Registered as a Git root, but no Git repositories were found there

This screen will have one config marked as red (Currently not visible) —

Select it and click on the edit button in the right

A new screen will popup —

Registered as a Git root, but no Git repositories were found there

On this select the project radio button

Then click ok and apply.

The error will go away and the git will work perfectly.

Дополнительно:  Доступ по ssh под root
Оцените статью
Master Hi-technology
Добавить комментарий