Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

login into github from cmd

git config --global user.name "Your name here"
git config --global user.email "your_email@example.com"
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 :: unzip folder .gz file in linux 
Shell :: linux opengl 
Shell :: clockwork 
Shell :: install atom ubuntu terminal 
Shell :: bash install apache 
Shell :: yarn list global packages 
Shell :: install ldapsearch 
Shell :: git download all submodules 
Shell :: how to open mongodb-compass 
Shell :: git merge cancel 
Shell :: windows install chocolatey 
Shell :: git clear commits 
Shell :: kubectl delete all pods 
Shell :: Clone a specific repository 
Shell :: linux test if string exists in file 
Shell :: git remove folder remotely 
Shell :: sudo kill port 
Shell :: git commit number of lines changed 
Shell :: bash split file into multiple files 
Shell :: installing isomorphic-fetch and simply doing 
Shell :: zsh add to path permanently 
Shell :: cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way snap-update-ns failed with code 1 
Shell :: centos php install 
Shell :: git ignore still tracking 
Shell :: install cocoapods 
Shell :: change git remote 
Shell :: tar unpack 
Shell :: aws cloudfront invalidation cli 
Shell :: git add commit push one command 
Shell :: powershell delete files older than 15 days 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =