configuring tortoise git and vs code.

Preparation, SSH keygen: 

$ git config --global user.name "calos"
$ git config --global user.email "359000081@qq.com"

cd ~/.ssh

 $ ssh-keygen -t rsa -C “359000081@qq.com”

id_rsa和id_rsa.pub

加密钥到ssh:ssh-add id_rsa.pub

cat ~/.ssh/id_rsa.pub 

1. tortoise git configuration:

customarily: normal: remember to add edit 'global .gitconfig' adding

[credential]
helper = store

2. vscode usage:

use vs code to manage local git commits

16.7.29:

today I removed the credential section in global .config file, it worked. still have no idea why it behaves like this. Should I keep the section or not?

Now: removed.

08.11

git remote

git clone

git push

git pull

git config

git commit

git config --global credential.helper store

原文地址:https://www.cnblogs.com/hualiu0/p/5706719.html