oh-my-zsh plugin for managing branches
If you use this, manage your team commit message with git-tc template.
git-tc
is built to work with oh-my-zsh, so you’ll need that installed first.
and require peco. enter brew install peco
, require shyaml. enter pip install shyaml
$ cd ~/.oh-my-zsh/custom/plugins
(you may have to create the folder)$ git clone /~https://github.com/KaitoWatanabe/git-tc.git
- In your .zshrc, add
git-tc
to your oh-my-zsh plugins:
plugins(rails git git-tc)
git-tc init
in your root projct. You will get.git-tc.yml
file.- change your
.git-tc.yml
. between @ and @ comment is ignored only show in peco. - enter
git-tc
git-tc -b
attachyour current branch
to commit message.- chagne your
.git-tc.yml
. You can add option.