Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Creating a project within an existing repository causes a fatal git error #587

Closed
lloydtao opened this issue Aug 12, 2020 · 2 comments
Closed

Comments

@lloydtao
Copy link
Contributor

Creating a project within an existing repository renders git unable to track the project in its entirety.

git add

$ git add .
error: 'project/' does not have a commit checked out
fatal: adding files failed

git status

$ git status
On branch master

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        project/

nothing added to commit but untracked files present (use "git add" to track)

An option needs to be added for the creation of the .git/ directory.

This is likely related #366, which has been ignored since October 2019:

1. Not everyone uses git (shocking, I know)
2. Sometimes you might be creating the project in an existing repository.

@azrikahar
Copy link

This is resolved by #596 right?

@lloydtao
Copy link
Contributor Author

lloydtao commented Sep 2, 2020

@azrikahar yeah! i was meant to write Closes #587 😁

image

closing now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants