【文件属性】:
文件名称:git-delete-merged-branches:用于删除合并的Git分支的命令行工具
文件大小:38KB
文件格式:ZIP
更新时间:2021-02-02 00:09:17
git cli automation python3 CommandlineinterfacePython
git删除合并的分支
方便的命令行工具可帮助您保持存储库的清洁。
安装
# pip install git-delete-merged-branches
例
# git-delete-merged-branches
Do you want to run "git remote update --prune" for 1 remote(s):
- origin
Update? [y/N] y
Do you want to run "git pull --ff-only" for 1 branches(s):
- master
Pull? [y/N] y
You are about to delete 6 local branch(es):
- improve-setup-py
- issue-12-enable-ci-for-pull-requests
- issue-5-fix-waste-of-one-second-per-service
- keep-github-actions-up-to-date
- refactoring-one
- simp
【文件预览】:
git-delete-merged-branches-master
----setup.py(2KB)
----.gitignore(66B)
----git_delete_merged_branches()
--------_multiselect.py(2KB)
--------__init__.py(0B)
--------_shell.py(2KB)
--------_messenger.py(2KB)
--------tests()
--------_argparse_color.py(1KB)
--------__main__.py(159B)
--------_confirm.py(747B)
--------_engine.py(23KB)
--------_cli.py(6KB)
--------_git.py(9KB)
--------_metadata.py(214B)
----.pre-commit-config.yaml(636B)
----LICENSE(34KB)
----.github()
--------workflows()
--------dependabot.yml(317B)
----README.md(4KB)
----.flake8(31B)