develog

[git] .gitignore 본문

Dev/git

[git] .gitignore

냐옴 2021. 3. 18. 14:28

.gitignore

##### macOS
.DS_Store

##### git
.git/

##### gradle
.gradle/
build/
**/.gradle/
**/build/

##### maven
target/
**/target/

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

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

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

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

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

##### 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