git config --global credential."https://github.com".username YOUR_USERNAMEThis will add
[credential "https://github.com"] username = YOUR_USERNAMEto your ~/.gitconfig
readability, less code, java, functional programming, ...
git config --global credential."https://github.com".username YOUR_USERNAMEThis will add
[credential "https://github.com"] username = YOUR_USERNAMEto your ~/.gitconfig