Skip to main content

git-flow branch management with standard commit format

Project description

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

Project details


Download files

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

Source Distribution

gitflo-0.0.2.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

gitflo-0.0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitflo-0.0.2.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gitflo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 33fe8f95846c62ec31eb3829195e7757e8b49da462c904a3287f8b00d3b96967
MD5 d1ba4a0c78366c43c6ea669b173aaad6
BLAKE2b-256 ab144e769175c45864d869d65c1197909ae94df108ad3c26a892bcb18b0e960a

See more details on using hashes here.

File details

Details for the file gitflo-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gitflo-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for gitflo-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b9edf7a9fa52625300fc98e90f2be6699e9102e571de03116ab2525b4e366ea
MD5 6e508acf39946d6f77d4938fa2dcd957
BLAKE2b-256 9323429a1a2b96b7ca232dc08588977d0882665415b0acea5c13ead9c4f33c48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page