Issues on new project

Creating my first project (WIN 10).
I can do Pull updates, but Push fails. Here the log:

-----------------------------------------------------------
2020-02-23T10:04:14.508Z Pull changes : http_github/master

2020-02-23T10:04:14.520Z git -c credential.helper= -c user.email="marco.sillano@gmail.com" -c user.name="msillano" pull http_github master
2020-02-23T10:04:15.586Z [err] From https://github.com/msillano/NiMH_charger_logger
2020-02-23T10:04:15.586Z [err]  * branch            master     -> FETCH_HEAD
2020-02-23T10:04:15.736Z [out] Merge made by the 'recursive' strategy.
2020-02-23T10:04:15.795Z [out]  LICENSE | 1 -
2020-02-23T10:04:15.795Z [out]  1 file changed, 1 deletion(-)
2020-02-23T10:04:15.804Z rc=0

-----------------------------------------------------------
2020-02-23T10:04:58.240Z Push changes : http_github/master

2020-02-23T10:04:58.548Z git -c credential.helper= push http_github HEAD:master --porcelain
2020-02-23T10:04:59.385Z [err] bash: /dev/tty: No such device or address
2020-02-23T10:04:59.401Z [err] error: failed to execute prompt script (exit code 1)
2020-02-23T10:04:59.401Z [err] fatal: could not read Username for 'https://github.com': No error
2020-02-23T10:04:59.411Z rc=128

Where I make error ??
Best regards.
m.s.

Hi Marco, welcome to the forum.

You are not doing it wrong. It is an issue specific to Git for Windows. As far as I know (but maybe I am mistaken) it is unresolved. As a workaround you can push to Github from the command line.

This issue has been discussed before in this forum.

Thanks... Beg pardon for the duplicated issue :frowning_face:
Windows is not very loved (with reason) by node developers! :disappointed_relieved:
Update:
Tested CMD: it worked. I will create a BAT for it. Thanks.

Best regards.
m.s.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.