---
title: "git使用"
author: "xxi"
date: "2016-04-14T21:35:26Z"
tags: ["Git"]
categories: ["操作系统"]
slug: "git"
draft: false
lastmod: "2021-02-04T12:35:37Z"
id: 2291392
url: "https://xxi.iteye.com/blog/2291392"
---

```java
//Git fatal: write error: Broken pipe
git config http.postBuffer 104857600


//忽略上传文件夹.idea/
//根目录新建.gitignore 文件
echo .idea/ > .gitignore

//删除git缓存
git rm -r --cached .

//再次提交即可
git add .
git commit

```