如何从Visual Studio 2013中将现有解决方案添加到GitHub中

编程入门 行业动态 更新时间:2024-10-27 16:35:11
本文介绍了如何从Visual Studio 2013中将现有解决方案添加到GitHub中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我浏览了很多关于VS 2013中新Git集成的网页,他们不涉及为Github添加现有解决方案。事实上我找不到使用GitHub而不是Visual Studio Online。

I have looked through many web pages on the new Git integration in VS 2013 and they do not deal with adding an existing solution to Github. In fact I can't find much on using GitHub instead of Visual Studio Online.

任何人都可以告诉我如何从现有解决方案入手,并将其添加到Github中工具在VS 2013中。

Can anyone tell me how I start from an existing solution and add it to Github using the tools in VS 2013.

推荐答案

确定这对我有效。

OK this worked for me.

  • 在Visual Studio 2013中打开解决方案
  • 选择文件|添加到源代码管理
  • 选择Microsoft Git提供程序
  • 创建本地GIT存储库

    That creates a local GIT repository

  • 浏览GitHub
  • 创建一个新的存储库不要SELECT初始化这个存储库使用自述文件
  • 创建一个没有Master分支的空白存储库

    That creates an empty repository with no Master branch

  • 创建后打开存储库并复制URL(它位于当前版本的屏幕右侧)
  • 返回Visual Studio
    • 确保您在工具/选项/源代码管理/插件选择下选择了Microsoft Git Provider
    • 您的解决方案现在位于GitHub

      Your solution is now in GitHub

  • 更多推荐

    如何从Visual Studio 2013中将现有解决方案添加到GitHub中

    本文发布于:2023-11-01 23:37:17,感谢您对本站的认可!
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:中将   解决方案   Studio   Visual   GitHub

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!