Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 자바스크립트 렉시컬스코프
- React Query
- net::R_SSL_PROTOCOL_ERROR
- activeElement
- 자바스크립트 스코프 체인
- Kafka
- 자바스크립트 옵셔널 체이닝
- 리액트 쿼리
- 자바스크립트 변수 호이스팅
- 모던 자바스크립트 Deep Dive
- Purdue university
- touchmove 이벤트
- active blur
- 자바스크립트 논리합 연산자
- 퍼듀대학교
- AWS 로드밸런서
- 로현 청춘의개발
- 사파리 가상키보드
- EC2 HTTPS로 연결
- refetchOnWindowFocus
- 자바스크립트 호이스팅
- 자바스크립트 중첩함수
- ios 크로스브라우징
- 모두의시간
- K-SW SQUARE
- 리액트 가상키보드
- 자바스
- but requested an insecure XMLHttpRequest endpoint 'http://~~’. This request has been blocked; the content must be served over HTTPS.
- 자바스크립트 null 병합
- 자바스크립트
Archives
- Today
- Total
개발 여행자, 현
[Git] .gitignore에 의해 제외된 파일을 git에 추가하기 본문
.gitignore에 의해 제외된 파일을 git에 추가하기
1. 개요
.gitignore에서 제외된 파일을 git에 추가해야되는 상황이 생겼다.
ingore 파일을 수정할 수도 있겠지만 그럼 추후에 다시 수정해야 되기에
git add 명령어를 이용하기로 했다.
2. 발생오류
git add test.md
.gitignore에 의해 제외된 파일을 git add 명령어를 이용하여 추가하려고 했는데
다음과 같은 오류가 발생했다.
The following paths are ignored by one of your .gitignore files:
.github/test.md
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"
3. 해결방법
git config advice.addIgnoredFile false
// or
git add -f Test.md
'Git' 카테고리의 다른 글
[Git] 깃허브 PR 템플릿 / Issues 템플릿 생성 (Pull Requests & Issues Template) (0) | 2022.05.19 |
---|