without haste but without rest

gitignore 캐시 파일 제거 본문

Git

gitignore 캐시 파일 제거

JinungKim 2021. 9. 18. 20:02

 

# gitignore 캐시 파일 제거 ex).DS_Store

git rm --cached .DS_Store		# 캐시 파일 제거
echo .DS_Store >> /.gitignore	# gitignore 파일에 해당 파일 추가

'Git' 카테고리의 다른 글

git cherry pick  (0) 2022.04.23
Github Actions  (0) 2022.03.03
Github ssh key setup  (0) 2022.03.01
git 브랜치 학습  (0) 2020.12.27
깃허브 초보를 위한 튜토리얼  (0) 2020.03.05
Comments