고요빛물결

Part 4 - How to use .gitignore

· 2019-02-10 (일) 06:38:41 · 2269

라라벨 프로젝트를 하나 만들어서

composer create --prefer-dist laravel/laravel giting_started

 

라라벨 디렉토리 안에서 Public으로 가지 말아야 될 것

.env : DB 패스워드및 여러가지 정보가 들어가 있음.

vendor 디렉토리

node_modules 디렉토리 등.

 

.gitignore 디폴트로 들어가 있는 것들

/node_modules

/public/hot

/public/storage

/storage/*.key

/vendor

.env

.phpunit.result.cache

Homestead.json

Homestead.yaml

npm-debug.log

yarn-error.log

 

git init

git add .

git commit -m "Initial commit"

 

각각의 프로젝트별 ignore해야 될 것은 참조: https://github.com/github/gitignore

 

 

|
댓글을 작성하시려면 로그인이 필요합니다.

Git

41건
+
제목 글쓴이 날짜 조회
17-10-31 조회 2,078
17-07-20 조회 3,251
17-07-04 조회 1,847
17-06-15 조회 1,529
17-06-10 조회 1,552
17-05-02 조회 2,080
17-04-19 조회 2,640
17-04-19 조회 1,606
17-03-31 조회 2,047
17-03-23 조회 2,065
17-03-22 조회 1,744