Skip to content

Latest commit

Β 

History

History
63 lines (53 loc) Β· 3.2 KB

File metadata and controls

63 lines (53 loc) Β· 3.2 KB

도움말 보기

λͺ…령어에 λŒ€ν•œ 도움말이 ν•„μš”ν•  λ•Œ 도움말을 λ³΄λŠ” 방법은 두 κ°€μ§€λ‘œ λ™μΌν•œ κ²°κ³Όλ₯Ό λ³Ό 수 μžˆλ‹€.

$ git help <verb>
$ man git-<verb>

예λ₯Ό λ“€μ–΄ μ•„λž˜μ™€ 같이 μ‹€ν–‰ν•˜λ©΄ git config λͺ…령에 λŒ€ν•œ 도움말을 λ³Ό 수 μžˆλ‹€.

$ git help config

도움말은 μ–Έμ œ μ–΄λ””μ„œλ‚˜ λ³Ό 수 μžˆλ‹€. μ˜€ν”„λΌμΈμœΌλ‘œλ„ λ³Ό 수 μžˆλ‹€. 도움말과 이 μ±…μœΌλ‘œ λΆ€μ‘±ν•˜λ©΄ λ‹€λ₯Έ μ‚¬λžŒμ˜ 도움을 λ°›λŠ” 것이 ν•„μš”ν•˜λ‹€. Freenode IRC μ„œλ²„(irc.freenode.net)에 μžˆλŠ” #git μ΄λ‚˜ #github μ±„λ„λ‘œ 찾아가라. 이 μ±„λ„μ—λŠ” 보톡 수백 λͺ…μ˜ μ‚¬λžŒμ΄ 접속해 μžˆλ‹€. λͺ¨λ‘ Git에 λŒ€ν•΄ 잘 μ•Œκ³  μžˆλ‹€. 기꺼이 도와쀄 것이닀.

Git λͺ…령을 μ‚¬μš©ν•˜κΈ° μœ„ν•΄ 맀우 μžμ„Έν•œ 도움말 전체λ₯Ό λ³Ό ν•„μš” 없이 각 λͺ…λ Ήμ—μ„œ μ‚¬μš©ν•  수 μžˆλŠ” μ˜΅μ…˜λ“€μ— λŒ€ν•΄μ„œ κ°„λž΅νžˆ μ‚΄νŽ΄λ³Όμˆ˜λ„ μžˆλ‹€. -h, --help μ˜΅μ…˜μ„ μ‚¬μš©ν•˜λ©΄ λ‹€μŒκ³Ό 같이 Git λͺ…λ Ήμ—μ„œ μ‚¬μš©ν•  수 μžˆλŠ” μ˜΅μ…˜λ“€μ— λŒ€ν•œ κ°„λ‹¨ν•œ 도움말을 좜λ ₯ν•œλ‹€.

$ git add -h
usage: git add [<options>] [--] <pathspec>...

    -n, --dry-run         dry run
    -v, --verbose         be verbose

    -i, --interactive     interactive picking
    -p, --patch           select hunks interactively
    -e, --edit            edit current diff and apply
    -f, --force           allow adding otherwise ignored files
    -u, --update          update tracked files
    -N, --intent-to-add   record only the fact that the path will be added later
    -A, --all             add changes from all tracked and untracked files
    --ignore-removal      ignore paths removed in the working tree (same as --no-all)
    --refresh             don't add, only refresh the index
    --ignore-errors       just skip files which cannot be added because of errors
    --ignore-missing      check if - even missing - files are ignored in dry run
    --chmod <(+/-)x>      override the executable bit of the listed files