-
[git 에러] git add * The following paths are ignored by one of your .gitignore files: git-add/ignore.txtUse -f if you really want to add themgit💻 2022. 2. 21. 12:32
https://sanghaklee.tistory.com/31
[Git/GitHub] git add * VS git add . 비교와 .gitignore로 파일 무시하기
git add * VS git add . git을 로컬에서 사용할 때 터미널을 이용해서 사용한다. 보통 $ git init $ cat > test.txt $ git add test.txt $ git commit -m " add test.txt " 이런식으로 사용한다. 그러나 파일이..
sanghaklee.tistory.com
여기 블로그에서 도움을 받았다 git add * 을 사용하면 .gitignore에서 뺀다는데 전부 올리라니? 하는 오류이다.
git ad . 을 이용하면 .gitignore 에 있는 파일은 빼고 모두 올린다는 뜻이라서 잘 된다
'git💻' 카테고리의 다른 글
[git 오류] failed to push some refs to (0) 2022.03.07 [git] does not have a commit checked out 오류 (0) 2022.03.05 git 그래픽 연습사이트 (0) 2022.02.23