数字键在 Bash 终端 (MacBook Pro) 中不起作用
我正在尝试使用 Bash 终端将 Rails 应用程序从 MacBook Pro 推送到我的远程 Heroku 存储库。
远程存储库地址包含数字字符,一旦我复制/粘贴“[email ],这些数字字符就会被删除;受保护]:应用程序名称-[数字].git”。如果我尝试手动输入数字,电脑只会发出蜂鸣声。
真的是被这个卡住了!
I'm trying to push a rails app to my remote Heroku repository from a MacBook Pro using the Bash Terminal.
The remote repository address contains numeric characters which are stripped out as soon as I copy/paste "[email protected]:app-name-[numbers].git". If I try to type the numbers in manually, the comp just beeps.
Really stuck on this one!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您遇到了终端设置问题。首先要尝试的就是关闭终端并重新启动;这将是一次新的会议。
如果这不起作用,请仔细键入以下内容
或
将其设置为正常值。
听起来好像你至少得到了角色的回声,所以这可能很容易。
^J
字符是 LINEFEED,它是基于 UNIX 的系统中用于换行的实际 ASCII 字符。You've got a terminal setup problem. First thing to try is simply to close down the terminal and restart; that'll be a fresh session.
If that doesn't work, carefully type the following
or
to set it to something normal.
It sounds as if you're getting characters echoed at least, so that may be easy. The
^J
characters are LINEFEED, which is the actual ASCII character used for newline in UNIX-based systems.