If ~/.gitconfig contains a stanza like the following, and credentials aren't specified in a method call, they should be extracted automatically.
[github]
user = kate
token = 545a9a47c1b7bd99cd06c0f812fde717
An added benefit of this approach is that applications built upon Octopi don't have to think about credential management; if the user has set up Git correctly, they'll just work, otherwise a rebuke an be issued. ;-)
If
~/.gitconfig
contains a stanza like the following, and credentials aren't specified in a method call, they should be extracted automatically.An added benefit of this approach is that applications built upon Octopi don't have to think about credential management; if the user has set up Git correctly, they'll just work, otherwise a rebuke an be issued. ;-)