mystudynote

  • 홈
  • 태그
  • 방명록
  • 글쓰기

gitignore 1

[git] .gitignore 파일/폴더 ignore하기

git에 add, commit 시 추적하지 않았으면 하는 폴더, 파일 확장자, 특정 파일이 있다면 최상위 폴더에 .gitignore 파일을 생성하여 설정해줄 수 있다. # 1. ignore folder: 폴더 무시 ImageNet/myfolder/ Folder/ # 2. ignore certain extensions: 확장자 무시 *.pth *.log # 3. ignore file: 파일 무시 ImageNet/log.txt gitignore 파일 내부에는 위와 같은 방법으로 무시하고자 하는 폴더/확장자/파일을 정의하면 된다. 이 때, ignore에 추가하기 전에 이미 push된 파일이나 폴더들은 그 후에 ignore하여도 적용되지 않는다. 따라서 commit, push 전에 cache를 지워주어야 한다...

git 2022.03.04
이전
1
다음
더보기
  • 분류 전체보기 (130)
    • DeepLearning (32)
    • Web: html ccs javascript re.. (16)
    • git (8)
    • python (24)
    • 코딩놀이: python C C++ (28)
    • Linux, etc (13)
    • 이것저것 공부 (9)

Tag

백준, gitignore, latex, classifier, 프로그래머스, DateTime, Naive Bayes, python, PyCharm, overleaf, React, Bayes Theorem, lv3, GIT, 리액트, Deeplearning, augmentation, posterior, rmdir, argparse,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바