简体   繁体   English

如何将我的代码从 github 拉到我的 vs 代码/计算机上?

[英]How can I pull my code from github on to my vs code/computer?

I've had quite a lot of files this year and not enough space so I had to delete some things.今年我有很多文件,但空间不够,所以我不得不删除一些东西。 However, I need to edit some of those files.但是,我需要编辑其中一些文件。 I have the repo I need on my github, I just don't know the command or how to pull it on to my vscode to edit.我的 github 上有我需要的回购协议,我只是不知道命令或如何将它拉到我的 vscode 上进行编辑。 Can anyone give me the steps on what to do?任何人都可以告诉我该怎么做的步骤吗?

Thank you谢谢

Couple of ways you can do this.有几种方法可以做到这一点。

  1. git clone your repo to your local computer and open that folder with VScode git 将你的 repo 克隆到本地计算机并使用 VScode 打开该文件夹
  2. Install extension where you can clone your repo using vscode.安装扩展,您可以在其中使用 vscode 克隆您的存储库。

VScode is an ide so you should be able to open any folder with it. VScode 是一个 ide 所以你应该能够用它打开任何文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 Github 和 Git 与我的 VS 代码连接起来,它能给我带来什么好处? - How can I Connect Github And Git with My VS Code and What It can Benefit me? 我无法在计算机的笔记本中运行构建的代码 - I can't run my code builded in notebook in computer 如何在 vs-community 中更改我的代码而不重新启动我的应用程序? - How can I make changes on my code in vs-community and not to restart my application? 如何将我的代码从 VS2019 中的控制台应用程序代码转换为 Windows 窗体 - How do I translate my code from console app code in VS2019 to Windows Form 如何在VS2010中快速有效地取消我的代码? 可能吗? - How can I quickly and effectively unshelve my code in VS2010? Is it possible? 如何在 vs studio 代码中导入我自己的 object? - How do I import my own object in vs studio code? 如何阻止我的 vs 代码应用程序显示错误弹出消息 - How do i stop my vs code app from displaying the error pop up message Xamarin SQLite 如何从我的数据库中获取值以在我的代码中使用它们? - Xamarin SQLite How can i get values from my database to use them in my code? 如何将我的解决方案从共享文件夹移动到我的本地计算机? - How can I move my solution from a shared folder to my local computer? 我如何在我的代码 C++ 中解决这个错误 - How can i solve this error in my code C++
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM