2025-08-06 14:02:59 +08:00
|
|
|
COMMIT_MSG ?= "Auto-commit: $(shell date '+%Y-%m-%d %H:%M:%S')"
|
2025-08-06 13:58:23 +08:00
|
|
|
#--------------------------------------------------------------
|
|
|
|
|
|
|
|
help:
|
|
|
|
@echo "usage: "
|
|
|
|
@echo "make git"
|
|
|
|
@echo "make git msg='...'"
|
|
|
|
@echo "make help "
|
|
|
|
|
|
|
|
#-------------------------------------------------------------
|
|
|
|
git:
|
|
|
|
git status
|
|
|
|
git add .
|
|
|
|
git commit -m $(COMMIT_MSG)
|
|
|
|
git push origin master
|
|
|
|
|
|
|
|
.PHONY: git help
|