git clone 踩過的坑3

2021-10-06 20:49:33 字數 609 閱讀 4898

報錯:

|please wait a moment...

remote: counting objects: 864, done

remote: finding sources: 100% (348/348)

packet_write_wait: connection to xx.xx.xx.xx port ***: broken pipe

fatal: the remote end hung up unexpectedly

fatal: early eof

fatal: index-pack failed

思路:df -th 

檢視磁碟容量

專案檔案較大  跟網速也有關係

設定postbuffer大小

如果還滿足不了就翻倍

http.postbuffer是http傳輸所使用的緩衝區的最大大小(以位元組為單位)。對於大於此緩衝區大小的請求,http / 1.1 transfer-encoding: chunked用於避免在本地建立大量的包檔案。預設值是1 mib,這對大多數請求來說已經足夠了。

git踩過的坑

4.git 修改當前的project的使用者名稱的命令為 git config user.name 你的目標使用者名稱 git 修改當前的project提交郵箱的命令為 git config user.email 你的目標郵箱名 如果你要修改當前全域性的使用者名稱和郵箱時,需要在上面的兩條命令中新增...

springboot踩過的坑

設定上下文路徑context path不生效 springboot 2.0之前的語法 server.context path xx 2.0之後的語法 server.servlet.context path xx 在配置yml時,報錯如下 caused by org.yaml.snakeyaml.sc...

SQL UNION踩過的坑

union 操作符用於合併兩個或多個 select 語句的結果集。請注意,union 內部的 select 語句必須擁有相同數量的列。列也必須擁有相似的資料型別。同時,每條 select 語句中的列的順序必須相同。select column name s from table name1 union...