git操作
git config --global user.name “用户名”
git config --global user.email “邮箱”
git init
Initialized empty Git repository in D:/code/my_code/python/text/gitee/python/.git/
$ touch README.md
$ git add README.md
$ git commit -m “first commit”
[master (root-commit) e062c32] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md
$ git remote add origin https://gitee.com/laykon_lau/python.git
$ git push -u origin “master”
公钥生成
ssh-keygen -t ed25519 -C “xxxxx@xxxxx.com”
cat ~/.ssh/id_ed25519.pub 将公钥拷贝到git 网页上面的公钥里
添加后使用ssh -T git@gitee.com 进行测试