Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions docs/files.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# File structure and organization

1. Developer-specific configuration files must be git-ignored globally, _e.g._:
## Git-ignore'd files

* `.ruby-{version,gemset}`
* `docker-compose.override.yml`
**Developer-specific** configuration files should be
[git-ignored globally], _e.g._:

2. Project-specific configuration files must be git-ignored per project, _e.g._:
* `.ruby-version`
* `.ruby-gemset`
* `docker-compose.override.yml`

* `config/database.yml`
**Project-specific** configuration files should be
[git-ignored locally] (_i.e._ per project), _e.g._:

* `config/database.yml`

[git-ignored locally]: https://help.github.com/articles/ignoring-files/#create-a-local-gitignore
[git-ignored globally]: https://help.github.com/articles/ignoring-files/#create-a-global-gitignore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those might not be the official Git documentation, but I find them easier to understand for newcomers, more straight-to-the-point and still reliable enough (even if not official). So I'd keep them, rather than Git man pages, tbh.