{"issue":{"user":{"id":1174514,"login":"pkeenatemma","url":"https://api.github.com/users/pkeenatemma","avatar_url":"https://secure.gravatar.com/avatar/50d1836f87c02e297a5f6b75a684e1e0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"50d1836f87c02e297a5f6b75a684e1e0"},"milestone":null,"title":"Use git-config to store settings","created_at":"2011-12-20T20:54:20Z","labels":[],"state":"open","updated_at":"2011-12-20T20:54:20Z","id":2618058,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/AndrewLorente/Pullme/issues/12","closed_at":null,"number":12,"body":"You can use git-config to store and retrieve whatever you want:\r\n\r\n    git config --global your.setting.name your-value # store in the user's ~/.gitconfig\r\n    git config your.setting.name your-value # store in the workdir's .git/config\r\n\r\nAnd then to retrieve them:\r\n\r\n    git config your.setting.name # looks in workdir then user global then system global (/etc/gitconfig I think)\r\n\r\nI would use this instead of a config file for storing the upstream and personal names.\r\n","url":"https://api.github.com/repos/AndrewLorente/Pullme/issues/12","comments":0,"assignee":null},"action":"opened"}