1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:42:08 +02:00
tldr/pages.ko/common/git-rev-parse.md
코드싸이 0819a11434
git-*: add and update Korean translation (#14031)
* git-a*: add and update Korean translation

* git-b*: add and update Korean translation

* git-*: add and update Korean translation

* Update git-standup.md

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-08 00:22:02 +09:00

16 lines
381 B
Markdown

# git rev-parse
> 리비전에 관련된 메타데이터를 표시.
> 더 많은 정보: <https://git-scm.com/docs/git-rev-parse>.
- 브랜치의 커밋 해시 가져오기:
`git rev-parse {{브랜치_이름}}`
- 현재 브랜치 이름 가져오기:
`git rev-parse --abbrev-ref {{HEAD}}`
- 루트 디렉토리의 절대 경로 가져오기:
`git rev-parse --show-toplevel`