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

linux login to github via git

$ git config --global user.name "Your name here"
$ git config --global user.email "your_email@example.com"

$ git config --global color.ui true
$ git config --global core.editor emacs
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 :: download putty for ubuntu 
Shell :: open file in finder from terminals 
Shell :: youtube dl download linux 
Shell :: download file using scp hostfile 
Shell :: Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 
Shell :: git squash last 2 commits 
Shell :: install spring boot on ubuntu 
Shell :: git get develop changes to my branch 
Shell :: delete all files in linux 
Shell :: ubuntu hide home folder on desktop 
Shell :: reload fstab 
Shell :: git clone ssh key 
Shell :: kubernetes exec into pod 
Shell :: install homebrew on linux 
Shell :: Pterodactyl wings update 
Shell :: git uncommit last commit but keep changes 
Shell :: jest install 
Shell :: Google Chrome freeze uploading a file ubuntu 22.04 
Shell :: add extra cygwin packages 
Shell :: where is www folder ubuntu 
Shell :: make git use a ssh key 
Shell :: uninstall all nuget packages 
Shell :: tailwind vite 
Shell :: adb screenrecord 
Shell :: enable docker api 
Shell :: discord unexpected token = 
Shell :: git change branch remote 
Shell :: how to uninstall software from ubuntu 
Shell :: split and get last 
Shell :: git commit and add in one command 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =