如何让git自动在commit message中加入你需要的s-o-b?

# Add "--global" if you want this config to be globally 

git config alias.cs "commit -s"

git config user.name "<your name>"

git config user.email "<your mail>"

 

So after that, use "git cs" instead of "git commit". 

posted @ 2013-01-21 17:43  super119  阅读(395)  评论(0编辑  收藏  举报