Closed noelmcloughlin closed 1 year ago
Unfortunately my PR solves Step 4 but breaks Step 8 due to nested .git/
directories.
Step 4: Run git init
in directory ./linkml-projects/
solves #33 OK
Step 5: OK
Step 6: OK
Step 7: OK
Step 8: NOK
cd ./linkml-projects/my-awesome-schema/
git remote add origin https://github.com/my-user-or-organization/my-awesome-schema.git
git branch -M main
git push -u origin main
error: 'main/' does not have a commit checked out
The solution for Step 8 is unsatisfying but effective!!
rm -fr ../.git # revert what we done for step 4 = fix the error above
git remote add origin https://github.com/my-user-or-organization/my-awesome-schema.git
git branch -M main
git push -u origin main
Suggestions welcome!
I think the changes to the Makefile are good - maybe separate these out?
As for the README instructions, I think we need to revisit these as a whole as getting setup is still more complex than it needs to be
Closed for now: https://github.com/linkml/linkml-project-cookiecutter/pull/36
This PR seems to fix the following issues with
make setup
procedure:This does not appear to be a Git project