본문으로 바로 가기
kitlocal.dev

Git 치트시트

로컬에서 실행

100% 브라우저에서 처리됩니다. 입력과 출력이 기기 밖으로 나가지 않습니다.

Git 명령어 검색 가능 참조: 일상 작업 흐름, 실행 취소 및 복구, 작업 트리(worktree), bisect, sparse-checkout 등

  • First-time setupGit 2.28+ 이상 필요
    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"
    git config --global init.defaultBranch main

    Identity used for every commit, and main as the default branch name for new repositories.

명령어는 Git 공식 문서를 기반으로 검증되었습니다. <placeholders>를 실제 값으로 대체하세요.