question-mark
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.

Is your proposal related to a problem?

Create react app starts with a git repository, but I wish I could start a react app with no git startup

Describe the solution you’d like

When starting a react app with CRA and a flag (ex: --no-git), do not start a git repository.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:60
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

42reactions
vyolbiuscommented, Nov 26, 2020

Should add this option.

27reactions
mxdi9i7commented, Jan 30, 2021

Should definitively add this option.

I feel like its not that common of a case and people doing this probably know enough to remove the .git folder in the newly created project.

This is not a reason to not add this feature, this is like saying “since people know enough to manually append/edit commit messages, we shouldn’t need -m flag for git commit

Another argument would be for popular libraries like express-generator we have the option to omit git repo on project initialization. This should be a standard option for any bootstrapping library.

On Windows machines that doesn’t use bash, the remove folder recursively command isn’t that straight forward, this could create a headache for windows users who need to put in lots of time to look up how to remove git submodules.

Read more comments on GitHub >

github_iconTop Results From Across the Web

whyleee/nogit: A command-line git client powered by ... - GitHub
Created to get rid of local git dependency in npm and bower, so contains only tiny subset of git features for those tools....
Read more >
Documentation - Nogit
NOGIT simplifies GIT with a limited number of commands and options. Let start with the 4 basic commands : NOGIT save This command...
Read more >
Nogit 400mg Tablet: View Uses, Side Effects, Price and ... - 1MG
Nogit 400mg Tablet is used in the treatment of Bacterial infections. View Nogit 400mg Tablet (strip of 10 ... Available options. close sheet....
Read more >
NOGIT Unscrambled Letters | Anagram of nogit - Unscramble.me
Click here to go through unscrambled words with the letters NOGIT. ... Unscramble nogit options. What 5 letter words can be made from...
Read more >
nogit - Urban Dictionary
This word also confuses the balls out of people, as it is not even close to "nugget". (In a classroom setting) "I'm tired...
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 Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found