Inflearn Community Q&A
장고 vscode 질문입니다
Written on
·
186
0
제가 git intit git status 를 하고난뒤 결과가
Untracked files:
(use "git add <file>..." to include in what will be committed)
askcompany/templates/
requirments/common.txt
이런식으로 나오게 되었습니다..
templates 엔 강의 내용대로 layout.html 있는데,
왜 이런식으로 나오는 걸까요?
pythonreactdjangodocker
Answer 2
0
pyhub
Instructor
안녕하세요.
layout.html 파일이 askcompany/templates/layout.html 경로에 있는 데, askcompany/templates/ 폴더내의 어떤 파일도 git 버전관리 대상이 아닐때, 보여주신 git status 출력이 나옵니다.
git add askcompany/templates/layout.html 후에 다시 git status를 해보세요. :-)
화이팅입니다~!!! ;-)






git 버전관리시스템에서는 변경내역을 저장(커밋)할려면
항상 add/commit명령을 해줍니다. 정상 사용법인거죠.