# GIT-UNPACK-FILE - Creates a temporary file with a blob's contents - man - [phpMan]

> **TLDR:** Create a temporary file with a blob's contents.
>
- Create a file holding the contents of the blob specified by its ID then print the name of the temporary file:
  `git unpack-file {{blob_id}}`

*Source: tldr-pages*

---

[_GIT-UNPACK-FILE_(1)](https://www.chedong.com/phpMan.php/man/GIT-UNPACK-FILE/1/markdown)                           Git Manual                           [_GIT-UNPACK-FILE_(1)](https://www.chedong.com/phpMan.php/man/GIT-UNPACK-FILE/1/markdown)

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

## SYNOPSIS
       _git_ _unpack-file_ <blob>


## 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
       <blob>
           Must be a blob id

## GIT
       Part of the [**git**(1)](https://www.chedong.com/phpMan.php/man/git/1/markdown) suite

Git 2.43.0                                   07/02/2025                           [_GIT-UNPACK-FILE_(1)](https://www.chedong.com/phpMan.php/man/GIT-UNPACK-FILE/1/markdown)
