【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

相关推荐
我命由我123457 小时前
Git 推送报错:error: src refspec main does not match any
运维·git·gitee·github·运维开发·学习方法·版本控制
阿里嘎多学长8 小时前
2026-09-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
峰向AI9 小时前
skill-up: [阿里开源] 让 AI Agent Skills 自己进化的评估工具
github
子林super12 小时前
顺序表用Python3定义与增删改查
github
子林super13 小时前
Python非空判断与类型检查写法
github
子林super13 小时前
Python list与array关键区别及使用场景
github
子林super13 小时前
Python中None与null的区别
github
u13013015 小时前
GitHub 热榜项目:周榜(2026-09-20)
人工智能·github
u13013016 小时前
GitHub 热榜项目:日榜(2026-09-20)
人工智能·github
逛逛GitHub17 小时前
外网 3500 万人围观的 Jev 模型,有这 10 个神奇玩法。
github