大理水控初始版本
diff --git a/g401302/project/gitver.bat b/g401302/project/gitver.bat
new file mode 100644
index 0000000..996c3ce
--- /dev/null
+++ b/g401302/project/gitver.bat
@@ -0,0 +1,10 @@
+@echo off
+SET LINE1=#ifndef GIT_VERSION
+SET LINE2=#define GIT_VERSION
+SET LINE3=#endif
+
+FOR /F %%I IN ('git describe --dirty --always --tags --abbrev=4') DO SET VERSTR=%%I
+
+echo %LINE1%  > ../../supwisdom/sp_version.h 
+echo %LINE2% ^"%VERSTR%^" >> ../../supwisdom/sp_version.h 
+echo %LINE3% >> ../../supwisdom/sp_version.h 
\ No newline at end of file