# 🔍 git-patchman
A patch/diff management cli + tui plugin for git.
## 📦 Installation
```
pip install git-patchman
```
```
> git patchman -h
usage: cli.py [-h] [-V] {add,delete,apply,show} ...
Manage Git patches with commands to add, delete, and apply patches.
positional arguments:
{add,delete,apply,show}
Available commands
add Add a patch
delete Delete a patch
apply Apply or revert a patch
show View a patch diff
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
```
## 🌟 Features
- 🛠️ Add/Remove/Apply/Revert patches using either CLI commands or a TUI
- 📤 Create patches from a commit, a range of commits or uncommitted changes
- `git patchman add [name] [commit_id] [--from-changes]`
- 🔍 Omit the patch name to enter TUI mode with search
- `git patchman show`
## 🧩 Dependencies
- [pytermgui](https://github.com/bczsalba/pytermgui) for the TUI.
Raw data
{
"_id": null,
"home_page": "https://github.com/byter11/git-patchman",
"name": "git-patchman",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "patch manager",
"author": "Mohsin Shaikh",
"author_email": "mohsinshk4026@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/88/b0/9ee8de41dd1f6e0239fbd4cfefd302f65ad6fcce86461f342c55d1858441/git_patchman-1.0.tar.gz",
"platform": null,
"description": "# \ud83d\udd0d git-patchman\n\nA patch/diff management cli + tui plugin for git.\n\n## \ud83d\udce6 Installation\n\n```\npip install git-patchman\n```\n```\n\n> git patchman -h\nusage: cli.py [-h] [-V] {add,delete,apply,show} ...\n\nManage Git patches with commands to add, delete, and apply patches.\n\npositional arguments:\n {add,delete,apply,show}\n Available commands\n add Add a patch\n delete Delete a patch\n apply Apply or revert a patch\n show View a patch diff\n\noptions:\n -h, --help show this help message and exit\n -V, --version show program's version number and exit\n```\n\n## \ud83c\udf1f Features\n- \ud83d\udee0\ufe0f Add/Remove/Apply/Revert patches using either CLI commands or a TUI\n- \ud83d\udce4 Create patches from a commit, a range of commits or uncommitted changes\n - `git patchman add [name] [commit_id] [--from-changes]`\n- \ud83d\udd0d Omit the patch name to enter TUI mode with search\n - `git patchman show`\n\n\n## \ud83e\udde9 Dependencies\n- [pytermgui](https://github.com/bczsalba/pytermgui) for the TUI.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/byter11/git-patchman"
},
"split_keywords": [
"patch",
"manager"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49a00fb803cc7e4926944edf93595a46fd83b4b2cc2435328a3608aa0b700889",
"md5": "fec947729a12776735ea0e5d3a146aeb",
"sha256": "ea8dba19837903fafb77fdfdc3bf3471862ce6dee7a99aab7e718f3ee98d9fd2"
},
"downloads": -1,
"filename": "git_patchman-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fec947729a12776735ea0e5d3a146aeb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6067,
"upload_time": "2024-12-02T14:42:57",
"upload_time_iso_8601": "2024-12-02T14:42:57.433292Z",
"url": "https://files.pythonhosted.org/packages/49/a0/0fb803cc7e4926944edf93595a46fd83b4b2cc2435328a3608aa0b700889/git_patchman-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "88b09ee8de41dd1f6e0239fbd4cfefd302f65ad6fcce86461f342c55d1858441",
"md5": "2f9b7be839be105d6ea01a3dcf2bcd3c",
"sha256": "a71e20f0150b01366953781ddd0b5087f804ac7d4486f5f9111a1b41812d726f"
},
"downloads": -1,
"filename": "git_patchman-1.0.tar.gz",
"has_sig": false,
"md5_digest": "2f9b7be839be105d6ea01a3dcf2bcd3c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5575,
"upload_time": "2024-12-02T14:42:59",
"upload_time_iso_8601": "2024-12-02T14:42:59.180239Z",
"url": "https://files.pythonhosted.org/packages/88/b0/9ee8de41dd1f6e0239fbd4cfefd302f65ad6fcce86461f342c55d1858441/git_patchman-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-02 14:42:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "byter11",
"github_project": "git-patchman",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "PyTermGUI",
"specs": [
[
"==",
"7.7.2"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "wcwidth",
"specs": [
[
"==",
"0.2.13"
]
]
}
],
"lcname": "git-patchman"
}