Study/Git

Git - 명령의 빈도와 메뉴얼 보는 방법

momong'-' 2020. 3. 2. 02:15

Git에서 자주 사용되는 명령어, 스스로 방법을 찾는 방법

commit 명령어에 대해 알고싶을 때 --help를 검색하면 메뉴얼 페이지가 뜸

git commit --help

file:///C:/Program%20Files/Git/mingw64/share/doc/git-doc/git-commit.html

불러오는 중입니다...

git commit f1.txt -a: add하고 commit 동시에

-a => 한번도 add가 되지 않은 파일은 자동으로 add하지 않음

git commit f1.txt -am "commit message": add하고 commit message를 입력하여 한번에 commit하는 방법