Skip to main content

Git

Git Error - Fatal: the Remote End Hung Up Unexpectedly

·126 words·1 min
When you push commits to git, you sometimes might get into this error. I got this when pushing hugo code into git. git push -u origin main Enumerating objects: 61, done. Counting objects: 100% (61/61), done. Delta compression using up to 4 threads Compressing objects: 100% (45/45), done. error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (54/54), 2.07 MiB | 5.37 MiB/s, done. Total 54 (delta 14), reused 0 (delta 0), pack-reused 0 (from 0) fatal: the remote end hung up unexpectedly This is caused by git buffer settings. Run:

Hugo Cheatsheet

·960 words·5 mins
Table Of Contents Start work on Hugo Content creation and editing Push to Git - one time only commands Push to Git - each time the website needs to be updated. Themes Emoji Support Google Analytics Old method - does not work for many themes anymore as of April, 2024 Insert Table of Content Insert an image Insert YouTube Video Add last modified date to posts Add categories and tags to your posts Add headings to your post