GitHub Personal access tokens
- GitHub Error: Authentication Failed from the Command Line
- 사용자 Settings > Developer settings > Personal access tokens
비밀번호 그만 물어보기
git config credential.helper store변경 추적
git config log.follow true구찮지
git config --global user.email "everlearningemployee@gmail.com"
git config --global user.name "빨강달"내부 참조(reference)
Git은 모든 브랜치, 태그, 리모트 참조 등을 .git/refs/ 디렉토리 아래에 계층적으로 저장한다. 주요 네임스페이스는 다음과 같다:
refs/heads/: 로컬 브랜치 (예:refs/heads/main은main브랜치).refs/tags/: 태그 (예:refs/tags/v1.0은v1.0태그).refs/remotes/: 리모트 레포지토리의 브랜치 (예:refs/remotes/origin/main은origin리모트의main브랜치).- 기타:
refs/notes/,refs/stash/등 특수 참조도 존재.
사용예
git checkout refs/heads/main
git show-ref- Kaniko의
--context=git://github.com/username/repository.git#refs/heads/main:subfolder
