Skip to main content

Assign uncommitted changes to named commits for clean git history

Project description

gitmark

Assign uncommitted working tree changes to named commits, then execute them in sequence with optional per-commit checks.

Installation

pip install gitmark

Usage

See gitmark-spec.md for full documentation.

Basic workflow:

# View uncommitted changes
gitmark diff

# Assign hunks to named commits
gitmark mark auth-refactor auth/token.py:14-67 db/models.py:8
gitmark mark rate-limiting auth/token.py:102

# Set commit messages
gitmark message auth-refactor "refactor: extract token validation logic"
gitmark message rate-limiting "feat: add rate limiting"

# Execute all commits
gitmark commit

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

gitmark-0.2.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

gitmark-0.2.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file gitmark-0.2.0.tar.gz.

File metadata

  • Download URL: gitmark-0.2.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gitmark-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abb89346bc0550b47196e7a3d2ae6ab3deb1c6cba42ea295566516928f6969b2
MD5 e9b3e667807f3edec1068ab9b12d7e23
BLAKE2b-256 b38cec3f37d5aebb7ed5c84954c95c1212ed7fc1fc1c7b1bf3297648016910ed

See more details on using hashes here.

File details

Details for the file gitmark-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gitmark-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gitmark-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d75afbaf46966e3e6a349da3460170733d8145a55c60897c82dee5bf196cedd3
MD5 082cb4a6745827f3304682406e0e5ecd
BLAKE2b-256 d7599592be52fe5b333687eb1e95e9aaedc8909648352d2157308f14d80ce229

See more details on using hashes here.

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