git config
علی ذوالفقار
1400/08/23 08:34:29 (612)
use access token to login gh cli
add your ssh-key to github via gh cli :
gh ssh-key add ~/.ssh/id_rsa.pub
use access token to login with git command
------------------------------------------------------------------------------------------
git config --global user.name "my name "
git config --global user.email "my_email@gmail.com"
git config --global credential.helper store
git config --global core.editor emacs
git config --global core.editor nano
git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
git config --global core.editor "code --wait"