GIT-UNPACK-FILE(1) Git Manual GIT-UNPACK-FILE(1)

# [NAME](#NAME)

git-unpack-file - Creates a temporary file with a blob's contents

# [SYNOPSIS](#SYNOPSIS)

```
git unpack-file <blob>
```

# [DESCRIPTION](#DESCRIPTION)

Creates a file holding the contents of the blob specified by sha1. It returns the name of the temporary file in the following format: .merge\_file\_XXXXX

# [OPTIONS](#OPTIONS)

&lt;blob&gt;

Must be a blob id

# [GIT](#GIT)

Part of the [**git**(1)](/man/os/git/git.1) suite

2026-06-29 Git 2.55.0

---

Document: git-unpack-file(1) from git 2.55.0-r8 (Chainguard OS)
Source: https://kernel.googlesource.com/pub/scm/git/git.git
