From 6304b772b14daf0880b591e82ff182a66c77bd2e Mon Sep 17 00:00:00 2001 From: shengchenyang <15538221825@163.com> Date: Fri, 21 Jun 2024 22:43:25 +0800 Subject: [PATCH] chore: add git Makefile commands --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3126833..955a1b2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: start clean build install build_dist test release pytest check +.PHONY: start clean build install build_dist test release pytest git check refresh: clean build install @@ -66,6 +66,13 @@ pytest: check: pre-commit run --all-files +git: + git config --global core.eol lf + git config --global core.autocrlf input + git config --global core.safecrlf true + git config --global http.proxy http://127.0.0.1:7897 + git config --global https.proxy http://127.0.0.1:7897 + path = $(subst /,$(strip $(PATHSEP)),$1) clean: