Initialize git as standard
See original GitHub issueDo 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:
- Created 6 years ago
- Comments:14 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah ok, gotcha 😆
@lukeed then shouldn’t the
--git
be the one to create the .gitignore
file? And… Shouldn’t--git
be standard?