This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #488 from mvladev/add-strict-gitignore
Add strict .gitignore
- Loading branch information
Showing
1 changed file
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
/args | ||
/bin | ||
/gardenctl | ||
/.kube-secrets | ||
/tmp/* | ||
/dev | ||
# ignore everything | ||
/* | ||
|
||
*.coverprofile | ||
*.html | ||
.vscode | ||
.idea | ||
*._Store | ||
.DS_Store | ||
|
||
main.tf | ||
terraform.tfstate | ||
terraform.tfvars | ||
variables.tf | ||
gardenctl_completion.sh | ||
key | ||
bin/* | ||
TODO* | ||
|
||
clusters | ||
config | ||
kubeconfig | ||
# except those directories and files: | ||
!/.ci | ||
!/.github | ||
!/.gitignore | ||
!/cmd/gardenctl/main.go | ||
!/hack/tools.go | ||
!/logo | ||
!/pkg | ||
!/vendor | ||
!/CODEOWNERS | ||
This comment has been minimized.
Sorry, something went wrong. |
||
!/CONTRIBUTING.md | ||
!/Dockerfile | ||
!/go.mod | ||
!/go.sum | ||
!/LATEST | ||
!/LICENSE.md | ||
!/Makefile | ||
!/NOTICE.md | ||
!/README.md | ||
!/VERSION |
There is no need to explicitly exclude files from being ignored which are already tracked in the git history since git does not ignore modifications of tracked files even if they would be mentioned in .gitignore to be ignored.
https://git-scm.com/docs/gitignore