메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


git에서 작업하는 동안에 .gitignore파일에 지정하지 않은 파일이 ignore되는 경우가 있는데.. 

Git Bash에서 check-ignore명령을 이용하여 rule파일과 적용된 파일을 확인할 수 있다.


가. ignore가 불필요한 파일을 add해본다(예, /C/dev/workspace/sdaf/sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml


$ git add /C/dev/workspace/sdaf/sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml

The following paths are ignored by one of your .gitignore files:

sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml

Use -f if you really want to add them.


나. ignore가 불필요한 파일을 폴더를 add해본다(예, /C/dev/workspace/sdaf/sda-common/src/main/resources/*.*)

$ git add /C/dev/workspace/sdaf/sda-common/src/main/resources/*

The following paths are ignored by one of your .gitignore files:

sda-common/src/main/resources/log4j.xml

sda-common/src/main/resources/mybatis-config.xml

Use -f if you really want to add them.


다. check-ignore 명령을 이용하면 rule파일과 적용된 파일을 매핑하여 볼 수 있다.

$ git check-ignore -v /C/dev/workspace/sdaf/sda-common/src/main/resources/*.*

"C:\Users\gooper\Documents\gitignore_global.txt":28:*.xml   C:/dev/workspace/sdaf/sda-common/src/main/resources/log4j.xml

"C:\Users\gooper\Documents\gitignore_global.txt":28:*.xml   C:/dev/workspace/sdaf/sda-common/src/main/resources/mybatis-config.xml

번호 제목 날짜 조회 수
321 bash는 PS1 변수를 통해 프롬프트의 모양을 바꿀 수 있다. 2016.03.30 514
320 halyard의 console스크립트에서 생성한 repository는 RDF4J Web Applications에서 공유가 되지 않는다. 2017.07.05 515
319 Error: E0501 : E0501: Could not perform authorization operation, User: hadoop is not allowed to impersonate hadoop 해결하는 방법 2015.06.07 517
318 Could not configure server becase SASL configuration did not allow the Zookeeper server to authenticate itself properly: javax.security.auth.login.LoginException: Checksum failed 2019.05.18 517
317 [oneM2M]Ontologies used for oneM2M 2017.08.02 518
316 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable원인 2015.04.27 522
315 hadoop 어플리케이션을 사용하는 사용자 변경시 바꿔줘야 하는 부분 2016.09.23 522
314 Cloudera Hadoop and Spark Developer Certification 준비(참고) 2018.05.16 527
313 Namenode Metadata백업하는 방법 2020.02.10 529
312 [Hue]Hue의 메타정보를 담고 있는 desktop_document테이블과 desktop_document2의 관계 2022.05.09 529
311 여러 홈페이지를 운영하거나 혹은 서버에 가입한 사용자들에게 홈페이지 계정을 나누어 줄수 있도록 설정/계정 생성방법 2018.01.23 531
310 lagom에서 제공하는 초기 생성기능을 이용하여 생성한 프로젝트의 소스 파악 2018.01.16 535
309 Cannot create /var/run/oozie/oozie.pid: Directory nonexistent오류 2014.06.03 536
308 [2.7.2] distribute-exclude.sh사용할때 ssh 포트변경에 따른 오류발생시 조치사항 2018.01.02 536
307 servlet-api를 jar형태로 build할때 포함하지 말고 java 설치 위치의 jre/lib/ext에 복사하여 사용하는것이 좋다. 2016.08.10 537
306 Mysql DB 생성 및 권한. 특정아이피, 대역에 대한 접근 허용 2017.05.04 539
305 small file 한개 파일로 만들기(text file 혹은 parquet file의 테이블) 2022.07.04 543
304 Kudu tablet이 FAILED일때 원인 확인 방법 2022.01.17 545
303 root계정으로 MariaDB설치후 mysql -u root -p로 db에 접근하여 바로 해줘야 하는일..(케릭터셑은 utf8) 2015.10.02 547
302 커리 변경 이벤트를 처리하기 위한 구현클래스 2016.07.21 548
위로