Aman
Aman

Reputation: 671

Git push unresponsive

Facing an issue with git where it does not complete the process of "git push" and just stands still like it would happen in an infinite loop. I read a little bit about this online, Would this be space problem may be ?

I also tried "git config --global http.postBuffer 524288000". That did not help either.

Pasting my steps below:

$ git status -s
M cli/filename1.php
M cli/filename2.php
M cli/filename3.php
M cli/testDelete.php

$ git add -A

$ git commit -m " my msg "
[branch_name 45ec72e]  my msg
4 files changed, 93 insertions(+), 15 deletions(-)

$ git push origin branch_name
Password for 'https://[email protected]':
<cursor keeps blinking here, it has been such since more than 20 mins now.>

I do not get any error . Also another interesting thing to note is (1) I do get a fatal: authentication failed when I feed in the incorrect password, it goes into an unresponsive state when I feed in the correct password and (2) when I interrupt by ctrl+C and run git status -s again - it shows no files. But when I check it in my repo online, the files do no exist there.

Upvotes: 0

Views: 836

Answers (1)

Pat Dale
Pat Dale

Reputation: 21

For anyone still having this issue, try configuring your username and email just as it is set in bitbucket.

git config --global user.name "JohnDoe"
git config --global user.email [email protected]

Upvotes: 2

Related Questions