Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

co-IT/git-prefix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-prefix

demo

Commits via convention

git_prefix enhances git checkout. When a branch has changed git_prefix will check if it matches the pattern feature/<any>. #<any> is taken as prefix for all commits that will be created on that branch. The additional # is necessary for several issue-trackers to get notice that a commit was pushed which relates to an issue.

Note that the automatic prefix is configured for branches that start with feature/.

The prefix is saved in the environment variable GIT_COMMIT_PREFIX. It will be read by the prepare-commit-msg hook to set the prefix in front of each commit message.

Usage Explanation
git_prefix <branch> Use prefix in a existing branch
git_prefix -b <branch> Creates a new branch an enables prefixing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages