【Git】vscode链接github拉去镜像

1.拉取别人的项目到自己的仓库

2.回到自己的仓库拉取文件到vscode里面下载

使用vscode进入虚拟机

推送到自己的仓库上面

在 github 页面将修改的内容 PR 到 Tutorial

创建一个个人仓库

代码如下

cd demo

git clone https://github.com/3154067760/Tutorial.git

cd Tutorial/

查看分支内容

git branch -a

这个命令的作用是创建一个名为 "camp3" 的新分支,并将其基于远程仓库中的 "origin/camp3" 分支。

git checkout -b camp3 origin/camp3

git checkout -b camp3_5341 # 自定义一个新的分支

创建自己的破冰文件

touch ./data/Git/task/camp3_5341.md # 修改为自己的问卷ID

提交更改到分支

git add .

git commit -m "add git_5341_introduction" # 提交信息记录

git push origin camp3_5341

相关推荐
wflynn2 小时前
GitHub 日榜趋势速报 | 2026-11-02
开源·github
徐小夕3 小时前
深度剖析 30k star 的编码 Agent DeepSeek-Reasonix:长会话 Token 成本直降 80%
前端·vue.js·github
Iron_3 小时前
多平台内容分发的适配器
github
u1301303 小时前
GitHub 热榜项目:日榜(2026-11-02)
人工智能·github
Sakura_j_h_4 小时前
GitHub Actions 打包 Windows exe:中文编码与产物上传
windows·ci/cd·打包发布·github·pyinstaller·github actions
miofly4 小时前
Meta 816B 参数 Muse Spark Open 在 NVIDIA GB300 上实现每 GPU 50K tokens 每秒
开源·github
dong_junshuai5 小时前
每天一个开源项目#148 T3 Code:把代理会话与代码工作区分开管理
github
徐小夕6 小时前
JitKnow知识库4.8发布:本体+知识图谱检索引擎,让AI回答不再“一本正经地胡说八道”
前端·vue.js·github
GitHub实测笔记6 小时前
ripgrep 本机实测:3.6G 目录 grep 7.4 秒、rg 0.12 秒,但 62 倍里有水分
github