Wake Me Up When September Ends.

A wanderer capable of grasping the beauty of the grass, with a heart full of ancient charm, and a fondness for playful wit. Those who understand my words are knowledgeable individuals; those who decipher my code truly comprehend the essence. I am a wandering code swordsman, carrying my skills and riding freely through the digital world.



1.You asked to pull from the remote ‘gitea’, but did not specify a branch. Because this is not the default configured remote for your current branch, you must specify a branch on the command line



git pull <remote> <branch>

2.error: RPC 失败。HTTP 413 curl 22 The requested URL returned error: 413 send-pack: unexpected disconnect while reading sideband packet

这个错误提示说明推送包(push package)太大了,超过了服务器所允许的大小限制。


1.增加 Git 中缓存的默认限制:

git config --global http.postBuffer 10240000000


server {
    // 其他配置省略
    client_max_body_size 500m;

3.fatal: 拒绝合并无关的历史


git merge --allow-unrelated-histories <branch_name>