develog

[git] .gitignore 본문

Dev/git

[git] .gitignore

냐옴 2021. 3. 18. 14:28

.gitignore

##### macOS
.DS_Store

##### intellij
.idea/
*.iml

##### eclipse
.settings/
.classpath
.project

##### project
!**/src/main/
!**/src/test/
!**/src/main/**/build/
!**/src/test/**/build/
!**/src/main/**/bin/
!**/src/test/**/bin/
!**/src/main/**/out/
!**/src/test/**/out/

##### git
.git/

##### gradle
.gradle/
build/

##### maven
target/

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

##### Node
node_modules/
package-lock.json
yarn.lock

##### etc
out/
_DOC/
test/
META-INF/
log4sql*

 

https://git-scm.com/docs/gitignore

 

Git - gitignore Documentation

The optional configuration variable core.excludesFile indicates a path to a file containing patterns of file names to exclude, similar to $GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to those in $GIT_DIR/info/exclude.

git-scm.com

 

https://www.toptal.com/developers/gitignore

 

gitignore.io

Create useful .gitignore files for your project

www.toptal.com

 

'Dev > git' 카테고리의 다른 글

[git] merge vs rebase  (0) 2021.03.31
[git] git branching model  (0) 2021.03.31
[git] git status untracked file not showing  (0) 2021.03.17
[git] rollback  (0) 2021.03.02
[git] config, init  (0) 2020.01.09
Comments