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.1.1.tar.gz (13.0 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.1.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitmark-0.1.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.1.1.tar.gz
Algorithm Hash digest
SHA256 85ef894cfe3db7889221f67907b88db743005aad1e7dc6640804db765dd22c44
MD5 4a3e6dcd3fb3007e8679862220ecdec3
BLAKE2b-256 5b5a2f1923310fb55b651962e0391939b7c1496a999c5ebb54e613c717a55d00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitmark-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c38825651d301d1159a1f8473ee8476d827c1641708ddf8363b92ac4802392d
MD5 6e721e1dd8cc580dfdb4134e749dc173
BLAKE2b-256 f1ff0cf3b631da2565ec3f83534efc165f17fbeec5d03c135abdc7bd2f8a5b05

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