-3

Suddenly git push stopped working from one day on my Ubuntu 14 machine.

I tried with different projects but the issue is still there. No error message is also being displayed, it keeps showing a blink.

I know it's a weird thing. How can I fix this?

git push origin my_branch_name   
Lydia Ralph
  • 1,455
  • 1
  • 17
  • 33
Prabhakar
  • 6,458
  • 2
  • 40
  • 51

1 Answers1

0

I finally figured out, since it is wired thing, it worked with some wild guess.

I first took the pull from the same branch which am trying to push. And then I tried pushing to the same branch it worked.

 git pull origin my_branch_name
  # got some error message, then
 git push origin my_branch_name.

Thats how it worked.

Prabhakar
  • 6,458
  • 2
  • 40
  • 51