You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
478 B
12 lines
478 B
# Change to the src/images directory, or exit if the directory doesn't exist |
|
Set-Location -Path C:\Users\kola\project\school-system\web_dist\images -ErrorAction Stop |
|
|
|
# 1. 添加当前目录所有文件(包含.gitignore忽略的文件也一并加入,等价svn --no-ignore --force) |
|
git add --force . |
|
|
|
# 2. 提交,备注update |
|
git commit -m "update" |
|
|
|
git push origin proj_icampus_dev |
|
|
|
ssh hb127 "cd /data1/wwwroot/default/highedu/web_dist_server/dist && git pull && exit"
|
|
|