Git Init: A Walk Through How to Create a New Repo

There are a few tips for you to take into consideration while using git init: If you want to run a simple git init command in an already initialized repository, it won’t change anything you already have there. This will create a new repository in which all non-hidden files and directories will be copied from […]

There are a few tips for you to take into consideration while using git init: If you want to run a simple git init command in an already initialized repository, it won’t change anything you already have there. This will create a new repository in which all non-hidden files and directories will be copied from the source project to the destinations while creating a new repository locally with no remote attachments. There are a few ways to create a repository: Using the git init command (with or without its flags) Creating a remote repository using GitHub, Bitbucket or other server first and cloning it locally Copying and pasting an existing folder that is a Git repository and changing those specific settings How Should I Create a Repository, Then?
Source: CloudBees