front-end/etc.
github 사용법
gaan
2022. 5. 17. 02:50
1. README.md
모든 git repository가 가지고 있어야 하는 파일.
# repository의 타이틀
2. 파일을 publish 해주기 (게시)
파일 선택 후 commit.
commit은 이 repository의 버전을 저장하는 시점.
commit할 때 타이틀 설정은 필수!
-> Commit to main
-> Publish branch
수정 후
-> Commit to main
-> Push origin
** 파일 저장 -> 파일 선택 -> Commit 타이을 -> Commit -> Push
3. 모든 commit에서 특정 파일을 업로드 하고 싶지 않을 때
.gitignore 파일 추가
-> 이 파일에 특정 파일 이름 추가
4. index.html
대부분의 웹 서버가 디폴트로 index.html을 찾아보도록 설정되어있음. ('index' = '첫번째')