LinuxCommandLibrary

git-unpack-file

Creates a temporary file with a blob (Aqs contents

TLDR

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]
copy

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) suite

Copied to clipboard