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 :: valet allow phpmyadmin route 
Shell :: install angular ubuntu 
Shell :: resolve merge conflicts git 
Shell :: command to find a file or directory in the current directory 
Shell :: how to WSL2 
Shell :: linux whereis command 
Shell :: laravel sail install php mongodb extension 
Shell :: git discard all unpushed commits 
Shell :: Mount EBS volume on Linux 
Shell :: install expo react native 
Shell :: how to update to latest version of chrome in ubuntu 17.04 
Shell :: for loop iteration in shell script 
Shell :: windows could not start the apache 2.4 on local computer 
Shell :: how to add key pair to ec2 instance terraform 
Shell :: remove .idea folder from git 
Shell :: how to push local code to gitlab 
Shell :: can i install linux on an external hard drive 
Shell :: git remove files from old commits 
Shell :: run speedtest command line mac 
Shell :: bash count lines 
Shell :: git view branch 
Shell :: htaccess hide directory listing 
Shell :: mongodb install kali linux 
Shell :: get path of command ubuntu 
Shell :: How to start a service with systemctl command 
Shell :: LINUX TEST FOLDER EXITS 
Shell :: ubuntu delete contents of folder 
Shell :: raspberry pi install vscode via command line 
Shell :: git cheat sheet 
Shell :: install xfce terminal on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =