Skip to content

Prepackaged repos refer to nonexisting remote #18

@gitqlt

Description

@gitqlt

So at some point I got stuck and copied repos/lab_40 to my working directory as cloned_hello. When I checked what I got I found that I have a remote named origin. However, the command

$ git remote show origin

resulted in a nonexistent absolute path error message (/Users/.../working/git/git_immersion/auto/hello)

I don't know if it is valid or not, but it seems that when editing the .git/config file in the cloned repo:

url = ../hello

git could get rid of that absolute path and that error message.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions