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.

Initialize git as standard

See original GitHub issue

Do you want to request a feature or report a bug? Feature.

What is the current behavior? Git is not initialized within a new project.

If this is a feature request, what is motivation or use case for changing the behavior? It is not standard to not use git on a project, having to get into the folder and starting git is just an unnecessary repetitive step that could be avoided.

Especially considering that preact-cli assumes you are going to use git, since it puts a .gitignore file on start.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
lukeedcommented, Dec 30, 2017

Ah ok, gotcha 😆

1reaction
jeanlucaslimacommented, Dec 29, 2017

@lukeed then shouldn’t the --git be the one to create the .gitignore file? And… Shouldn’t --git be standard?

Read more comments on GitHub >

github_iconTop Results From Across the Web

git-init Documentation - Git
This command creates an empty Git repository - basically a .git directory with subdirectories for objects , refs/heads , refs/tags , and template...
Read more >
git init | Atlassian Git Tutorial
The git init command creates a new Git repository. It can be used to convert an existing, unversioned project to a Git repository...
Read more >
Git Guides - git init - GitHub
git init is one way to start a new project with Git. To start a repository, use either git init or git clone...
Read more >
How can I create a Git repository with the default branch name ...
While “master” is the default name for a starting branch when you run git init which is the only reason it's widely used,...
Read more >
Start a new git repository - Karl Broman
A new repo from scratch · Create a directory to contain the project. · Go into the new directory. · Type git init...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found