JetBrains公司软件版本控制

Git

修改设置

  1. File -> Settings -> Version Control -> Git -> 配置Git路径E:\software\Git\bin\git.exe

  2. File -> Settings -> Version Control -> GitHub -> 配置GitHub用户[email protected]

克隆Git仓库

  1. 在GitHub上新建Git仓库

  2. VSC -> Checkout from Version Control -> Git -> 粘贴Git仓库地址,选择保存路径

使用Git

  1. 新建项目或者把要推上去的内容复制到本地文件夹中来

  2. 追踪:右键库名 -> Git -> add

  3. 提交:右键库名 -> Git -> commit directory -> 输入标记信息 -> 确认commit

  4. 推:右键库名 -> Git -> Reposity -> push

发布了13 篇原创文章 · 获赞 3 · 访问量 312

猜你喜欢

转载自blog.csdn.net/weixin_45158297/article/details/103132574