Reputation: 25
When im pushing to my remote repository through https ,there is no response from the terminal. This happens:
git push origin2 master
# noting
SSH works fine and I am able to push.
Any idea why this would happen?
Upvotes: 1
Views: 2123
Reputation: 11
I just had the same problem and solved it using the GitHub Desktop app. When you run it go to the Repository menu and choose Open in Command Prompt. Then try to push your commit with: git push command It will now ask you how you wish to authenticate and give you 2 options:
choose 1 and hit ENTER, it will direct you to the GitHub page where you can grant relevant permission. That's all. Happy coding :)
Upvotes: 1
Reputation: 1323913
Instead of using GIT_TRACE1, as suggested in comments, use (with a recent enough Git), GIT_TRACE2_EVENT
set GIT_TRACE2_EVENT=1
git push
# to cancel traces
set GIT_TRACE2_EVENT=
Check also the output of git remote -v
to check:
Upvotes: 3