Skip to main content

git-flow branch management with standard commit format

Project description

gf

a git-flow branch management

Supported Features

Installation

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.1.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

gitflo-0.0.1-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

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