고요빛물결

Part 4 - How to use .gitignore

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

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

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건
+
제목 글쓴이 날짜 조회
21-12-05 조회 1,255
21-05-24 조회 1,758
20-12-27 조회 1,637
20-11-25 조회 1,098
20-07-09 조회 1,478
20-06-23 조회 1,762
20-04-02 조회 1,205
20-03-06 조회 1,775
19-04-12 조회 1,807
19-02-24 조회 1,928
19-02-23 조회 2,087
19-02-23 조회 2,068
19-02-23 조회 2,048
19-02-21 조회 1,618
19-02-17 조회 2,028
19-02-13 조회 2,149
19-02-13 조회 2,559
19-02-12 조회 1,806
19-02-11 조회 2,224
19-02-11 조회 1,893
19-02-11 조회 1,867
19-02-10 조회 2,008
19-02-10 조회 2,265
19-02-10 조회 1,990
19-02-09 조회 1,704
19-02-09 조회 2,015
19-01-08 조회 1,882
18-11-16 조회 1,805
18-09-01 조회 2,227
17-11-28 조회 6,432