Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Working With Remote Repositories Pushing and Pulling

git push fatal: The remote end hung up unexpectedly

I can to do a push because the console show me this error:

Counting objects: 1365, done. Delta compression using up to 4 threads. Compressing objects: 100% (1181/1181), done. Writing objects: 100% (1357/1357), 1.95 MiB | 0 bytes/s, done. Total 1357 (delta 252), reused 0 (delta 0) error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date

Anyone knows why?

Travis Stewart
Travis Stewart
15,188 Points

Can you also post the command line text you are entering? Without knowing to much about your commit history or what branch you are on I'm not quite sure what the issue might be. However, I did find this on stack overflow: It almost looks like that error occurs when trying to overwrite a master. http://stackoverflow.com/questions/15240815/git-fatal-the-remote-end-hung-up-unexpectedly

I solved this, you need specify the origin branch. "git push origin master" that works.