Fatal: unable to read username for device "https // github.com" not configured

I am trying to use the code for github with the SublimeGit plugin, but something strange is happening to me.

Clicking on https://github.com/username/username.imtqy.com.git

fatal: unable to read Username for ' https://github.com ': device not configured

Many searches were undertaken before asking, for example, fatal: could not read the username for "https://github.com": no such file or directory , Fatal: could not read the username for "https://github.com ": no such device or address .

But the problem still remains, any efforts will be appreciated.

+4
source share
1 answer

You get this error ( fatal: could not read Username for 'https://github.com': Device not configured) when gityou need to request a username or password, and (a) the only mechanism available to him is to ask on the console and (b) there is no console available (git is not connected to the tty device, i.e. you do not start gitinteractively).

This usually happens in an environment where you invoke git from some gui tool and the corresponding credential assistant is not configured.

There are many ways to solve this problem:

+13

Source: https://habr.com/ru/post/1659013/


All Articles