Remove make-push
Do not allow pushing subtree from projects. It's messy when multiple subtrees are involved. Just update common itself.
This commit is contained in:
6
Makefile
6
Makefile
@@ -26,9 +26,3 @@ make-stash-drop:
|
|||||||
.PHONY: make-update
|
.PHONY: make-update
|
||||||
make-update:
|
make-update:
|
||||||
@git subtree pull --prefix .gitlab --squash --message "Merge update from Common" -q common main
|
@git subtree pull --prefix .gitlab --squash --message "Merge update from Common" -q common main
|
||||||
|
|
||||||
.PHONY: make-push
|
|
||||||
make-push: warning
|
|
||||||
@make make-update
|
|
||||||
@git subtree split --branch common/$(PROJECT_NAME) --prefix .gitlab
|
|
||||||
@git push common common/$(PROJECT_NAME):common/$(PROJECT_NAME)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user