일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- 대소문자 구별
- MySQL
- 정규표현식
- matches any character
- escaped
- point
- literal
- 딸라표시
- databases
- Regular Expressions
- whitespace
- 꺽쇠
- MAC
- dollar sign
- New Line
- Regexp
- Regex
- Case sensitive
- square brackets
- mongo
- GIT
- MongoDB
- bitbucket
- sensitive
- backslash
- Terminal
- runserver
- NoSQL
- whitespace characters
- Homebrew
Archives
- Today
- Total
Creaticalmind
.gitignore 다시적용하기 본문
git 쓸때 여러가지 이유로 .gitignore를 적용해야 한다. 예를 들면 환경설정 분리라던가 보안의 문제 때문이다. 하지만 이미 .gitingore를 적용했다면, 참으로 난감하다. 그래서 아래 코드를 폴더에서 실행을 하면 다시 적용이 가능하다.
$ git rm -r --cached .
$ git add .
$ git commit -m "re-apply .gitignore file"
$ git push
Comments