Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use vscode to upload a project to github

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to use vscode to upload a project to github. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

1. Create a local warehouse

At this point, you can find that there is a .git folder in the folder, which is used by Git to track and manage the version library. If you can't see it because it hides the file by default, then you need to set it up to make the hidden file visible.

2. Submit the project to the local warehouse

3. Establish contact with github remote warehouse

Git remote add origin https://gitlab.com/Happiness/hellod.git

4.1. push the project to the main branch master

Git push-u origin master

Push the project to the branch, such as the devcode branch

Create a branch

Git branch devCode

Switch branch

Git checkout devCode

5. Add branches to github

Git push-set-upstream origin devCode Thank you for your reading! On how to use vscode to upload the project to github to share here, I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report