【发布时间】:2019-04-23 02:47:34
【问题描述】:
我是在 GitHub 中创建项目的新手(自动化新手)我已经遵循了一些步骤,并且已经进入了我输入的阶段
- $ git push -u origin master
当我添加这个时,我得到以下错误返回
$ git push -u origin master
fatal: HttpRequestException encountered.
发送请求时出错。
Unhandled Exception: System.ObjectDisposedException: Cannot access a closed file.
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Flush(Boolean flushToDisk)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Microsoft.Alm.Git.Trace.Microsoft.Alm.Git.ITrace.Flush()
at Microsoft.Alm.Cli.Program.Die(String message)
at Microsoft.Alm.Cli.Program.Die(Exception exception)
at Microsoft.Alm.Cli.Program.Main(String[] args)
Username for 'https://github.com': awa1ker23
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/awa1ker23/DefaultWebFrameWork.git/'
我已经添加了我的用户名和密码,但它说密码验证失败。但是,它绝对是正确的用户名和密码。
我想知道我收到这条消息是不是因为我在 Eclipse 中更改了项目的名称?
【问题讨论】:
标签: java github automation repository git-bash