针对git、gitee&VSCode连接的使用 || Live Share插件使用

1.下载git

链接

打开终端,桌面鼠标右键

2.配置密钥

登录gitee。

设置密钥

查看官方文档

跟着教程

复制最后的输出进行密钥添加

验证是否添加成功

3.创建&连接远程仓库

创建仓库

git终端进行配置

远程仓库克隆到本地

桌面终端clone,克隆他人|自己的仓库到本地。

git clone https://gitee.com/liguangzhen2514/test.git

4.本地文件上传远程仓库

进入test,创建新文件123.txt

上传:使用3条指令

git add . //把所有内容放进暂存区

git commit -m "写注释信息"

git push //缓存区推到仓库

查看仓库

5.连接VSCode

使用vscode打开test项目。

vscode上传到远程仓库

1-创建新文件

2-选择工具

3-添加更改的文件

4-添加注释

5-"提交"

同意更改

最后、查看远程仓库

测试成功!

6.Live Share插件使用

VSCode里搜索安装插件

分享&加入项目

队友加入后,

添加分享的网址

最后,便可以共同时开发前端,在同一项目。

7.参考

git和gitee的使用。_哔哩哔哩_bilibili

若有疑问,查看作者主页个人信息。

相关推荐
ON10N3 小时前
100% 纯 Vibe Coding,我是怎么用 AI 撸出一个 VS Code 插件的
git·ai编程·visual studio code
你怎么知道我是队长6 小时前
VsCode插件推荐---Todo Tree
ide·vscode·编辑器
becatjd6 小时前
VScode的claude code插件报错command ‘claude-vscode.editor.openLast‘ not found
ide·vscode·编辑器·claude·anthropic·claude code
BIBI20497 小时前
下载指定历史版本 VSCode 或 VSCode Insider
ide·vscode·编辑器
优秀是不可能的8 小时前
Claude Code VSCode 扩展 Windows 打开出现 “claude-vscode.editor.openLast”
ide·windows·vscode·claude code
ouliten9 小时前
VSCode的C++插件clangd如何搭配cuda使用?
c++·ide·vscode
Lunar*10 小时前
告别臃肿!使用 git-filter-repo 优雅清理 Git 历史记录
git
tq108610 小时前
agent 记忆 = markdown + json + git
人工智能·git
宫瑾11 小时前
vscode未定义标识符报错的解决方法
ide·vscode·编辑器
宫瑾11 小时前
C语言开发时,自定义vscode语法颜色
ide·vscode·编辑器