In this git tutorial, i will show you git init command. Git init command creates an empty Git repository - basically a .git directory with subdirectories for objects, refs/heads, refs/tags, and template files. An initial branch without any commits will be created (see the --initial-branch option below for its name).
Syntax
git init
Running git init in an existing repository is safe. It will not overwrite things that are already there. The primary reason for rerunning git init is to pick up newly added templates (or to move the repository to another place if --separate-git-dir is given).
Documentation:
https://git-scm.com/docs/git-init
$ cd /path/to/my/codebase
$ git init (1)
$ git add . (2)
$ git commit (3)
#git #knowledgethrusters #github #gitbash
Nesta página do site você pode assistir ao vídeo on-line Git Init - Create an empty Git repository | Git Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Knowledge Thrusters 24 Julho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,720 vezes e gostou 18 espectadores. Boa visualização!