Last active
December 30, 2015 02:29
-
-
Save apprentice1988/7763120 to your computer and use it in GitHub Desktop.
简化yaml文件,注意 &和*的使用
This file contains hidden or 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
development: &base | |
username: root | |
password: secret | |
log_level: debugger | |
database: my_app_development | |
test: | |
<<: *base | |
database: my_app_test | |
staging: | |
<<: *base | |
database: my_app_staging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment