【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

相关推荐
lpfasd12318 分钟前
2026年第23周GitHub趋势周报
github
Aliaoo1 小时前
GitHub Copilot 改按量计费 72 小时:$28→$746 的账单、暂停新注册,以及这对普通开发者意味着什么
github·copilot
撸码小狂魔1 小时前
GitLab CI/CD 使用指南(小白版)
github
易生一世1 小时前
GitHub Copilot概述
github
暴雨课堂2 小时前
宝塔和云效webhook配置
github
zahuilg102 小时前
Mac原生终端SSH一键快捷连接|无需装软件、极简安装、快速上手
macos·ssh·github·终端
用户1712819473752 小时前
autoflake:Python 代码里没用的 import,让它自己清掉
github
南知意-2 小时前
MonkeyCode:长亭开源的企业级AI开发平台,GitHub 3.2k Star!
人工智能·ai·开源·github·ai编程·开源项目
humpy28872 小时前
测试用记录
github
uhakadotcom2 小时前
在 Python 开发中 transitions 的使用
后端·面试·github