Git/Git: 명령어 정리
[Git:명령어 정리] init 명령어 정리
데브마우스
2024. 1. 9. 15:00
git init 명령어 정리
git init 명령어는 현재 디렉터리를 git 저장소(repository)로 초기화 하거나 이미 존재하는 디렉터리를 git 저장소(repository)로 만듭니다.
git init 옵션은 아래 코드와 같습니다.
git init [-q | --quiet] [--bare] [--template=<template-directory>]
[--separate-git-dir <git-dir>] [--object-format=<format>]
[-b <branch-name> | --initial-branch=<branch-name>]
[--shared[=<permissions>]] [<directory>]
참고 자료
Git/mingw64/share/doc/git-doc/git-init.html