windows - Git push not working but "git clone" and SSH does -


i set debian server uses ssh shell access , git repos. created bare repo on , using ssh able clone windows 8 workstation, when trying push changes debian server error depicted here:

enter image description here

read remote host 174.52.5.192: connection reset peer fatal: sha1 file '<stdout>' write error: invalid argument fatal: remote end hung unexpectedly error: failed push refs 'git@174.52.5.192:/home/git/repos/space-junk.git/' 

i use work station regularly shell access same server via ssh know inability access ssh isn't problem.

does have idea what's going wrong?

actually, first push should be:

git push -u origin master 

that link local branch master remote tracking 1 origin/master

then, after first push, able (for subsequent push) simple:

git push 

see more @ "why need explicitly push new branch?".


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -