LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-fast-export

Export Git history in fast-import stream format

TLDR

Export repository to stream
$ git fast-export --all > [repo.txt]
copy
Export specific branch
$ git fast-export [branch] > [branch.txt]
copy
Export with blobs
$ git fast-export --all --signed-tags=strip > [export.txt]
copy
Export for reimport
$ git fast-export --all | git fast-import
copy

SYNOPSIS

git fast-export [options] [revs]

DESCRIPTION

git fast-export generates a complete textual representation of Git repository history in a format designed for consumption by git fast-import. This creates a portable, version-control-system-agnostic representation of commits, trees, tags, and their relationships.The primary use case is repository migration and transformation. Export streams can be filtered, modified, or split before reimport, enabling powerful repository restructuring operations such as extracting subdirectories, rewriting author information, or converting between Git hosting providers.The export format is line-oriented and human-readable. Combined with git fast-import, this command pair provides significantly faster repository operations than git filter-branch for large-scale history rewrites. The --anonymize option supports sharing repository structure for debugging while protecting sensitive content.

PARAMETERS

--all

Export all refs.
--signed-tags mode
Handle signed tags (warn, strip, verbatim).
--tag-of-filtered-object mode
Handle filtered tags.
--no-data
Skip blob contents.
--anonymize
Anonymize data.

INSTALL

nix profile install nixpkgs#git-fast-export
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid