login to github from terminal code example
Example 1: how to login to git from terminal
git config --global user.name "your_username"
Example 2: how to login to git from terminal
git config --global user.email "[email protected]"
Example 3: how to set up git for github
$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"
Example 4: setup github password terminal
$ git config credential.helper store
$ git push https://github.com/owner/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
Example 5: linux login to github via git
$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"
$ git config --global color.ui true
$ git config --global core.editor emacs