{"issue":{"title":"Move configuration to separate directory and file","user":{"login":"petervanderdoes","id":380071,"url":"https://api.github.com/users/petervanderdoes","avatar_url":"https://secure.gravatar.com/avatar/e27ffc80a05a6beadf1c10d03227a57a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e27ffc80a05a6beadf1c10d03227a57a"},"created_at":"2011-12-25T17:01:35Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-25T22:23:19Z","id":2655460,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/nvie/gitflow/issues/183","body":"## Request\r\nInstead of having the configuration stored in the .git/conf file have a default configuration directory for gitflow.\r\n\r\n## Advantage\r\n\r\n* People who clone a gitflow enabled repository don't have to run git flow init. An advantage of that is people don't have to share their naming conventions for git flow branches and version prefixes.\r\n\r\n* The directory can also be used for other purposes, like the already written hooks feature.\r\n\r\n## Naming convention\r\n\r\nThe directory is hard coded so it's the same for every gitflow enabled repository. As git also has a hardcoded configuration directory I don't see harm in this.\r\nTo keep in line with git's structure I suggest the following naming convention:\r\n\r\n* Directory name:  **.gitflow**\r\n\r\n* Configuration file: **conf**","number":183,"url":"https://api.github.com/repos/nvie/gitflow/issues/183","comments":2,"assignee":null},"comment":{"user":{"login":"pro-logic","id":552851,"url":"https://api.github.com/users/pro-logic","avatar_url":"https://secure.gravatar.com/avatar/ca4b3e1463a089e612e83f501512ec29?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ca4b3e1463a089e612e83f501512ec29"},"created_at":"2011-12-25T22:23:19Z","updated_at":"2011-12-25T22:23:19Z","id":3271865,"body":"I'd say just have a .gitconf file in the root, much like .gitignore and .gitattributes. It's one less directory to worry about traversing in code. ","url":"https://api.github.com/repos/nvie/gitflow/issues/comments/3271865"},"action":"created"}