Skip to main content

WIP Branch Watcher

项目简介

WIP Branch Watcher 是一个Python工具,它监控当前Git仓库的文件变动,并自动将更改提交到名为wip的分支中。此工具旨在帮助开发者在开发过程中快速存储工作进展,避免丢失未提交的更改。

功能特点

  • 自动监控文件变动:使用watchdog库实时监控文件系统的变更。
  • 自动提交和推送更改:检测到更改后,自动提交并推送到wip分支。
  • 分支切换:能够在wip和main分支之间灵活切换,并保持变更。
  • 支持.gitignore配置:自动加载.gitignore文件,忽略不需要监控的文件和目录。

安装

你可以通过PyPI轻松安装此工具:

pip install wip

使用方法

在需要监控的Git仓库的根目录下,直接运行以下命令启动监控:

wip
  • 启动后,程序将切换到wip分支,并开始监控文件变动。
  • 每当检测到变动,工具会自动执行git add、git commit和git push。
  • 若需停止监控,可以按Ctrl+C。

注意事项

  • 确保当前目录为Git仓库的根目录。
  • 确保当前分支为main或您指定的主分支,程序会自动处理到wip分支的切换。
  • 在程序运行过程中,请勿手动切换分支以避免冲突。

贡献

欢迎对本项目进行贡献!请通过提交问题或拉取请求来与我们联系。

许可证

此项目采用MIT许可证。详情请参阅LICENSE文件。

Metadata

Release files for wip-manager 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wip-manager 0.1.0
File Size Uploaded Provenance Actions
wip_manager-0.1.0.tar.gz 16.3 kB Without provenance Details for wip_manager-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wip-manager 0.1.0
File Interpreter ABI Platform Actions
wip_manager-0.1.0-py3-none-any.whl Python 3 none any Details for wip_manager-0.1.0-py3-none-any.whl

Total release size: 32.7 kB

Release files / wip_manager-0.1.0.tar.gz

Download URL wip_manager-0.1.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
55c0a410e656903e0f59cf4b604b13f74364be80514099f80ccc56c547d18296
BLAKE2b-256 checksum
How to use checksums
538bac0c30142b0ba9c33d61b455fef491ade835989dcbdfdd28d5954b7aba4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / wip_manager-0.1.0-py3-none-any.whl

Download URL wip_manager-0.1.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79a39e271342b53a3ba77573a32f8e1a60990e8dc52d5311266e411c413b7822
BLAKE2b-256 checksum
How to use checksums
79515ec2e2465817cf4216e9ff4a5632e846251df3eef55dafd59f53e8204353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for wip-manager 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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