투케이2K

64. (Bitbucket/Git) [Git 명령어] git ls-tree 명령어 사용해 특정 브랜치 파일 및 디렉토리 목록 확인 본문

비트버킷 & Git

64. (Bitbucket/Git) [Git 명령어] git ls-tree 명령어 사용해 특정 브랜치 파일 및 디렉토리 목록 확인

투케이2K 2024. 9. 3. 15:19
반응형

[환경 설정]

저장소 : Bitbucket / Git

사용 목적 : 소스 코드 버전 관리 실시

 

[설 명]

 

# --------------------------------------------------------------
# 형식 : git ls-tree [브랜치 명칭]
# --------------------------------------------------------------
# 예시 : git ls-tree main
# --------------------------------------------------------------
# 결과 출력 : 

$ git ls-tree main
100644 blob .DS_Store
100644 blob .gitignore
040000 tree .gradle
040000 tree MifareCLib
100644 blob README.md
040000 tree app
100644 blob build.gradle
100644 blob gradle.properties
040000 tree gradle
100644 blob gradlew
100644 blob gradlew.bat
100644 blob local.properties
100644 blob settings.gradle

# --------------------------------------------------------------

 

반응형
Comments