mattn/gist-vim — pull request #60 by travisjeffery (2012-03-09 03:08:11+00:00)
Title: Use --get to get github username and token

Hey,

By using --get people can take advantage of git's recent includes functionality: https://github.com/git/git/commit/9b25a0b52e09400719366f0a33d0d0da98bbf7b0

This will allow people to not have to either store their github credentials in their .gitconfig file or add them in each time they clone their dotfiles. --global will only get keys in their global config files but not keys in files they've included.

It also degrades gracefully and functions just as well for people using older git versions.

Thanks