Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to sign into github from terminal

$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com

or to see the signed in user

git config --list
Comment

how to login github in terminal

All these methods are outdated:

You need to use a personal Token to log in. Below are the steps

1)Log in to GitHub and navigate to the Settings
2)Click on Developer Settings
3) Click on Personal Access Tokens
4)Click on Generate new token
5) Now type in the name of the token and select the scopes, 
or permissions, you’d like to grant this token. 
Make sure you select repo to use your token to access 
repositories from the command line. Click Generate token.

NOW COPY THE TOKEN AND PASTE IT WHEN GITHUB ASKS FOR PASSWORD FROM THE TERMINAL
 it your new password
OR FILL  JUST THIS WITH THE NECCESARY DETAILS
git push https://<GITHUB_ACCESS_TOKEN>@github.com/<GITHUB_USERNAME>/<REPOSITORY_NAME>.git
Comment

PREVIOUS NEXT
Code Example
Shell :: install monodevelopment arch linux 
Shell :: update ubuntu not working 
Shell :: surge install 
Shell :: check cronta status ubuntu 
Shell :: zsh: courpt historyfile 
Shell :: stop localhost port 
Shell :: install discord on ubuntu 
Shell :: conda install openjdk=11 
Shell :: bash: lsb_release: command not found 
Shell :: mac os uninstall oh my zsh 
Shell :: install angular animation 10.0.12 
Shell :: change dns linux 
Shell :: install .net sdk on ubuntu 
Shell :: bootstrap npm 
Shell :: Node version mac1000 
Shell :: install sshuttle ubuntu 
Shell :: heroku error: src refspec master does not match any. 
Shell :: bash command to find the number of files in a directory 
Shell :: openssl version command 
Shell :: kill process for port 
Shell :: centos dig 
Shell :: powershell scoop 
Shell :: set up git repository 
Shell :: zsh suggestion from history 
Shell :: change process name pm2 
Shell :: voice recorder for ubuntu 20.04 
Shell :: dev/kvm device permission denied 
Shell :: which desktop environment is runnings 
Shell :: zoom ubuntu 18.04 
Shell :: how to get hostname on linux 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =