【【Cursor 教学】安裝 3 款让 Vibe Coding 效率翻倍的工具!用「个人形象网站」实战演练】 https://www.bilibili.com/video/BV1p3kKBtEhG/?share_source=copy_web&vd_source=03f0cf9cce813d57a4e195d8a7f59cec
1.安装Git
检测是否安装
git -v
2.完成初始化
git config --global user.name "baobao"
git config --global user.email "baobao@gmail.com"
3.生成SSHkey,保证电脑有更新专案的权限
ssh-keygen -t ed25519 -C "baobao@gmail.com"
4.显示公钥
cat ~/.ssh/id_ed25519.pub
【我使用显示公钥的指令出现错误。换成了
type %USERPROFILE%\.ssh\id_ed25519.pub
正常显示
】
5.登录github
6.把公钥贴到key下
将专案的git初始化
git init
连接电脑上的文件夹和github上的专案
git remote add origin https://github.com/parasol-west-lane/blur.git