P
P
Pavel2021-06-23 20:34:51
GitHub
Pavel, 2021-06-23 20:34:51

Trouble creating a repository on github?

I started learning how to work with github and ran into a strange problem.
To link git to github, it asks you to specify these lines in the git:

git remote add origin https://github.com/user/test.git
git branch -M main
git push -u origin main

At home, after writing the command git push -u origin main, nothing happens, just the line below appears and | flashes. When I tried to do the same at work, everything worked, right after that it requests data from the github to connect, login and password, but at home it doesn’t ask for anything and hangs.
The installed git version is Git-2.32.0-64-bit. I don’t understand what’s wrong at home, I don’t even know where to dig.

I found such an entry in the github logs, what can it mean?
Blocked a merge setting on the [unknown repo] repository


There was also such an error, it pops up and asks for username for github
error writing "stdout": broken pipe
error writing "stdout": broken pipe
    while executing
"puts $::answer"
    (procedure "finish" line 14)
    invoked from within
"finish"
    invoked from within
".b.ok invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 24)
    invoked from within
"tk::ButtonUp .b.ok"
    (command bound to event)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2021-06-23
@saboteur_kiev

maybe instead of user you need the name of your user?
And add an authorization key?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question