Skip to main content

git-omit

Small Git helpers for files that should only be ignored locally.

Installation

Install the native command from PyPI:

uv tool install git-omit

Or install it into a Python environment:

pip install git-omit

The environment installation supports both entry styles:

git-omit --help
python -m git_omit --help

Prebuilt wheels are published for Windows x86_64, macOS x86_64 and ARM64, and glibc-based Linux x86_64 and ARM64.

Commands

Command Effect
git-omit hide <pattern>... Add patterns to .git/info/exclude
git-omit unhide <pattern>... Remove patterns from .git/info/exclude
git-omit freeze <path>... Mark tracked files as skip-worktree
git-omit unfreeze <path>... Clear skip-worktree
git-omit list List hidden patterns and frozen paths

Quote glob patterns so the shell passes them to git-omit unchanged:

git-omit hide '*.log'

Building

The native program requires Zig 0.16.0:

zig build test
zig build -Doptimize=ReleaseSmall

Build every platform wheel from one Linux host with Zig cross-compilation:

python make_wheels.py --sdist

Download files

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

Source Distribution

git_omit-0.0.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distributions

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

git_omit-0.0.2-py3-none-win_amd64.whl (113.5 kB view details)

Uploaded Python 3Windows x86-64

git_omit-0.0.2-py3-none-manylinux_2_17_x86_64.whl (78.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

git_omit-0.0.2-py3-none-manylinux_2_17_aarch64.whl (83.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

git_omit-0.0.2-py3-none-macosx_11_0_x86_64.whl (65.4 kB view details)

Uploaded Python 3macOS 11.0+ x86-64

git_omit-0.0.2-py3-none-macosx_11_0_arm64.whl (72.4 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file git_omit-0.0.2.tar.gz.

File metadata

  • Download URL: git_omit-0.0.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d0e5d1fe42a112e12e32aa09c8383dae21a091251532eeb41cf3fcf38df94470
MD5 90b843ac44e0bb69f3f56c52592f841c
BLAKE2b-256 922cb0a978e1e2bb071b78ac7dcae983e7cf24c8ae5b0c153221c7c89ef6e592

See more details on using hashes here.

File details

Details for the file git_omit-0.0.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: git_omit-0.0.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 113.5 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 13ca430b6d0cd03de8f73c05a8bd914ee6866fd891a419a1395e4ff2d7e72a30
MD5 cd0eece1864942a1412880b43ac83e3d
BLAKE2b-256 9ed2320c1d1d226c1d65a514439f4298686509b9fcba0c9c5944d1a4100abb02

See more details on using hashes here.

File details

Details for the file git_omit-0.0.2-py3-none-manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: git_omit-0.0.2-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 78.4 kB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 54d2a8beb04c6193b5c0ed0da40882fd3f16dc51ed9969fbb9fa89285bbbe1bc
MD5 ccd1bcb15ca47ef39c0323acbaa4cff9
BLAKE2b-256 2d862944b9b1900513718beb62d7cb7b2e925104c7baff92dbf5c70fdb0e85ef

See more details on using hashes here.

File details

Details for the file git_omit-0.0.2-py3-none-manylinux_2_17_aarch64.whl.

File metadata

  • Download URL: git_omit-0.0.2-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 83.2 kB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5703364c8c3aba13127b68336f672146865f1de716fa379c358f34457c6b695c
MD5 7753e3913271c7e14cbba09df853c2c1
BLAKE2b-256 ed808f2ad965cbf41c86c7a3ba0be63f987995125d3a6874433e998afc2e6106

See more details on using hashes here.

File details

Details for the file git_omit-0.0.2-py3-none-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: git_omit-0.0.2-py3-none-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 65.4 kB
  • Tags: Python 3, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 46cafc2821c324138c4b103c94dddbdbb06833ca30ba0731c77d3c05e5540407
MD5 0e33eaaa8101524215df099f6248310f
BLAKE2b-256 5ab0b59d67f24b56e134a654d58704156b2cac27e2510bedd1383fcb347c4d5f

See more details on using hashes here.

File details

Details for the file git_omit-0.0.2-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: git_omit-0.0.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 72.4 kB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for git_omit-0.0.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44d1c03e9d06cb1ae6f4f586f51a9d4982cd6c74d442848a52ede7c0b514753d
MD5 3fdd1d113329a2e6662d14e1bd7e69d2
BLAKE2b-256 cb52e1bfc4798bf1c7cc466e522dd704b3f82c9ded32b36f05f94c997c83850e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3

5 files

This release

0.0.2 This release

6 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page