- git global config .gitignore setting 
//------------------------------------- 
방법 1 : 명령어 
git config --global core.excludesFile '~/.gitignore'  
//------------------------------------- 
방법 2 : ~/.gitconfig 파일 수정 
[core] 
excludesFile = ~/.gitignore 
//------------------------------------- 
~/.gitignore 파일 수정 예 
.env 
*.key 
*.crt 
/bak
반응형
    
    
    
  'Code' 카테고리의 다른 글
| 포크(fork, git client) 프로그램 checkout 에러 해결방법 (0) | 2023.09.11 | 
|---|---|
| windows git bash 한글 유니코드 utf8로 설정하는 방법 (0) | 2023.07.27 | 
| Redis 서버 최신 버전 설치하기 (0) | 2023.04.21 | 
| Redis 서버 에러 - 'ERR syntax error' 해결 방법 (0) | 2023.04.21 | 
| 구글 코랩 코드를 로컬 컴퓨터에서 실행 시키는 방법 (0) | 2023.02.15 | 



