module: add Make target for rebasing three branch

这个提交包含在:
cn 2020-08-14 11:44:53 +02:00
父节点 2a069d5cd0
当前提交 6155338645
共有 1 个文件被更改,包括 11 次插入0 次删除

查看文件

@ -21,6 +21,17 @@ lint: ## Lint all source code
test: ## Run all tests
poetry run pytest
.PHONY: rebase-three-branch
rebase-three-branch: ## Rebase the py3 branch with master contents
git stash
git checkout master
git pull
git checkout three
git rebase -i origin/master
git push --force-with-lease
git checkout master
git stash pop
.PHONY: help
help: ## Print this help text
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'