Skip to main content

gf

a git-flow branch management

Installation

pip install gitflo

Usage

1. Unified standard commit format

gf commit

Standardize the format of commit.
使用-b/-f 选择是否添加body/footer信息

<type>(emoji): <header>
<BLANK LINE> //空行
<body>
<BLANK LINE> //空行
<footer>
  • type 用于说明 commit 的类别, header 是 commit 目的的简短描述
  • *body 部分是对本次 commit 的详细描述,可以分成多行
  • *footer Footer 部分只用于两种情况。BREAKING CHANGE (不兼容的改变) 和 Closes Issue 填写bug编号/或者需求编号

commit_screenshot

2. branch management

gf feature start <branchname>
gf feature submit <branchname>
gf feature finish <branchname>
gf feature delete <branchname>
todo:详细说明

interface

gf switch

switch

gf status

合并 git status & git add & git restore部分功能
选择文件 然后执行命令添加或者移除暂存区 status

gf tag

create a tag in 'v{major}.{minor}.{patch}_{date}' format
Use -p/-m/-M to increase patch/minor/major version number

gf undo

撤销last commit提交, == git reset "HEAD^"

gf log

todo

Metadata

Release files for gitflo 0.0.2

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

Source distribution (sdist)

Source distribution for gitflo 0.0.2
File Size Uploaded Provenance Actions
gitflo-0.0.2.tar.gz 10.0 kB Without provenance Details for gitflo-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gitflo 0.0.2
File Interpreter ABI Platform Actions
gitflo-0.0.2-py3-none-any.whl Python 3 none any Details for gitflo-0.0.2-py3-none-any.whl

Total release size: 25.2 kB

Release files / gitflo-0.0.2.tar.gz

Download URL gitflo-0.0.2.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
33fe8f95846c62ec31eb3829195e7757e8b49da462c904a3287f8b00d3b96967
BLAKE2b-256 checksum
How to use checksums
ab144e769175c45864d869d65c1197909ae94df108ad3c26a892bcb18b0e960a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release files / gitflo-0.0.2-py3-none-any.whl

Download URL gitflo-0.0.2-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b9edf7a9fa52625300fc98e90f2be6699e9102e571de03116ab2525b4e366ea
BLAKE2b-256 checksum
How to use checksums
9323429a1a2b96b7ca232dc08588977d0882665415b0acea5c13ead9c4f33c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Security for gitflo 0.0.2

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.

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