Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 292 Bytes

git-init.md

File metadata and controls

22 lines (15 loc) · 292 Bytes

Git Init

The git init command is used to initialize a new Git repository.

Usage

git init

Explanation

  • Creates a new .git directory in your project.

  • Sets up the necessary Git files and structures.

Example

mkdir my-project
cd my-project
git init