login to github via terminal code example

Example 1: how to login to git from terminal

git config --global user.name "your_username"

Example 2: login github command line

git config --global user.email "[email protected]"

Example 3: linux login to github via git

$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"

Example 4: 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