Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

shep new creates nested git repos

See original GitHub issue

If you’re in a git repo and run shep new it will create another git repo inside the existing git repo.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

southpolestevecommented, Nov 10, 2016

What about just dropping git init all together? I kinda just threw it in on a whim, but I would be fine with saying it is outside the scope of shep. People can run their own git init. Afaik this isn’t common among frameworks

chris-olszewskicommented, Nov 10, 2016

That’s cross platform, but it leads to issues if there does exist a repository above the current directory. e.g. on my machine this is what happens:

[shep-test]$ git rev-parse --git-dir
[shep-test]$ cd ../
[opensource]$ git rev-parse --git-dir
Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested Git repositories? - Stack Overflow
You may be looking for the Git feature called submodules. This feature helps you manage dependent repositories that are nested inside your main...
Read more >
I have nested git repos, will it cause a problem?
My first tests with nested git repositories didn't suffer any of those three problems. You don't have to add .git in gitignore ...
Read more >
using nested git repositories - git-annex
It's important that the link is created only after the nested repo has been git annex add 'ed. Also, the link needs to...
Read more >
Support nested git repositories · Issue #37947 · microsoft/vscode
I'd suggest adding settings value to the workspace file where it would automatically populate at generation time all the auto-detected git repos ......
Read more >
How do I get simple nested Git repositories to work? - Reddit
All nested repositories can be pulled with one command. Should also work for Git repositories that I do not control myself. Git repositories...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found