面对Pulling& amp;在VS 2017企业版中使用GIT进行更改 [英] Facing issue in Pulling & Commiting Changes using GIT in VS 2017 Enterprise Edition

查看:48
本文介绍了面对Pulling& amp;在VS 2017企业版中使用GIT进行更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< g class =" gr_ gr_31 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Punctuation only-ins replaceWithoutSep"数据-GR-ID =" 31 QUOT; ID = QUOT 31 QUOT;> HI< / g取代;全部,


我正面临< g class =" gr_ gr_65 gr-alert gr_gramm gr_inline_cards gr_run_anim仅限语法-ins doubleReplace replaceWithoutSep"数据-GR-ID =" 65 QUOT; ID = QUOT; 65 QUOT; style =" font-size:0.75em;"> issue< / g>
提取& 提交更改。


我收到以下错误:



Git因致命错误而失败。

致命:无法读取用户名< g class =" gr_ gr_93 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling"
data-gr-id =" 93" ID = QUOT; 93"> TFS< / g取代;名称终端提示被禁用



请帮助我解决这个问题,



问候,


Gaurav Goyal






解决方案

你好
Gaurav Goyal,


欢迎来到MSDN论坛。


请提供更多相关信息。


请打开visual studio安装程序修复visual studio,你可以看看与你有类似问题的线程

https://stackoverflow.com/questions/42915793/attempting-push-on-git-and-receiving-could-not-read-username- for-https-githu


根据我的评论。您可以在远程URL中包含您的用户名(类似于FTP)。


没有密码的示例(SSH):


git remote set-url origin git@github.com:username / repo.git


密码示例(https)


https:// name:password@github.org/repo.git


来源:
Git push需要用户名和密码


祝你好运,


乔伊斯



<跨度>


<g class="gr_ gr_31 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Punctuation only-ins replaceWithoutSep" data-gr-id="31" id="31">HI</g> All,

I am facing <g class="gr_ gr_65 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="65" id="65" style="font-size:0.75em;">issue</g> in pulling & committing changes.

I am getting below error:

Git failed with a fatal error.
fatal: could not read Username for <g class="gr_ gr_93 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="93" id="93">tfs</g> name terminal prompts disabled

Please help me in resolving this,

Regards,

Gaurav Goyal


解决方案

Hi Gaurav Goyal,

Welcome to MSDN forum.

Please give more information about it.

Please open visual studio installer to repair visual studio, and you can have a look at the thread which has the similar issue with you https://stackoverflow.com/questions/42915793/attempting-push-on-git-and-receiving-could-not-read-username-for-https-githu

As per my comment. You can include your username in the remote URL (similar to FTP).

Example without password (SSH):

git remote set-url origin git@github.com:username/repo.git

Example with password (https)

https://name:password@github.org/repo.git

Source: Git push requires username and password

Best regards,

Joyce


这篇关于面对Pulling&amp; amp;在VS 2017企业版中使用GIT进行更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆