Skip to main content

Flatten entire git history to a single commit

Project description

git-squash

Flatten entire git history to a single commit.

Install

pip install git-squash

Usage

git-squash                          # squash current repo
git-squash /path/to/repo            # squash specific repo
git-squash -m "Initial commit"      # custom message
git-squash -b main                  # target branch

Warning: Rewrites git history. Don't use this tool unless you like it for some reason.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_squash-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_squash-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file git_squash-0.1.0.tar.gz.

File metadata

  • Download URL: git_squash-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for git_squash-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3fe57af3dce7da5bc2535fba5fb883d0cc6b790d908214f8abcd55e1ccb827c8
MD5 f4aaee16b3a45d574597f6cf0fe59d51
BLAKE2b-256 1236131774b42a2dd425990c2df4ea1ee064f69131afeeff31699604ed9f6e9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_squash-0.1.0.tar.gz:

Publisher: publish.yml on tylerhenthorn/git-squash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file git_squash-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: git_squash-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for git_squash-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c762599c9c7bcdb8cddfe29a74c9014665f5abc1c3f75d9ab644b5922b2f6c0
MD5 be55c644b0de481904a5ea900d79f331
BLAKE2b-256 b4e09980b38fe6debeac37880931f6938a2eefd2611d014b457b5778286238d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_squash-0.1.0-py3-none-any.whl:

Publisher: publish.yml on tylerhenthorn/git-squash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page