添加 .gitignore 忽略二进制执行文件

This commit is contained in:
eson 2023-10-09 16:02:46 +08:00
parent 16acfb7320
commit bdb093e7da
20 changed files with 21 additions and 1 deletions

View File

@ -48,7 +48,7 @@ run_server() {
# 循环检查screen进程是否存在 # 循环检查screen进程是否存在
[ -f .gitignore ] || echo $server_name > .gitignore [ -f .gitignore ] || (echo "$server_name" > .gitignore && echo "main" >> .gitignore)
# 使用 screen 运行 go run <server_name>.go # 使用 screen 运行 go run <server_name>.go
echo "Running $server_name" echo "Running $server_name"

View File

@ -1 +1,2 @@
auth auth
main

View File

@ -1 +1,2 @@
base base
main

View File

@ -1 +1,2 @@
canteen canteen
main

2
server/collection/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
collection
main

View File

@ -1 +1,2 @@
data-transfer data-transfer
main

View File

@ -1 +1,2 @@
home-user-auth home-user-auth
main

View File

@ -1 +1,2 @@
info info
main

View File

@ -1 +1,2 @@
map-library map-library
main

View File

@ -1 +1,2 @@
order order
main

View File

@ -1 +1,2 @@
pay pay
main

View File

@ -1 +1,2 @@
product-model product-model
main

View File

@ -1 +1,2 @@
product-template-tag product-template-tag
main

View File

@ -1 +1,2 @@
product-template product-template
main

View File

@ -1 +1,2 @@
product product
main

View File

@ -1 +1,2 @@
resource resource
main

View File

@ -1 +1,2 @@
shopping-cart shopping-cart
main

View File

@ -1 +1,2 @@
upload upload
main

View File

@ -1 +1,2 @@
webset webset
main

View File

@ -1 +1,2 @@
websocket websocket
main