Current Size:
Chakra BreakPoints
base0px
sm480px
md768px
lg992px
xl1280px
2xl1536px
Current Height:Width
widthpx
heightpx

Subjects

gitignore

Date Created: 2023/11/12

Last Update: 2024/04/28

#git #gitignore #cheatsheet #reference

CheatSheet

Ignore the contents of dir foo/

.gitignore
foo/*

Ignore dir foo/ anywhere in the project this is a bit overkill

.gitignore
**/foo/**

Example using .env

.gitignore
**.env**

This ignores

.env
.env.foo
.env.*
foo/.env
foo/.env.*
foo/bar/.env.*

Gotchas

Vscode

Heavy handed handle, this ignores .vscode anyware in a project and any sub configs

**/.vscode/**
.gitignore
.vscode/*
.vscode/settings.json
.vscode/tasks.json
.vscode/launch.json
.vscode/extensions.json
.vscode/*.code-snippets

References

gitignore reference - atlassian

More Notes

All Notes
HomeProjects

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth