Remove reference to merge from history

后端 未结 0 845
囚心锁ツ
囚心锁ツ 2021-01-26 23:38

I want to introduce this check in pre-commit hooks:

if git name-rev --name-only HEAD | grep -q testing
then
exit 0
fi

if git branch -r --merged `git name-rev --n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题