push.sh 444 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 1. 重新初始化,排除大文件
cd /workspace/FourCastNet
rm -rf .git

# 2. 创建 .gitignore 排除数据文件
cat > .gitignore << 'EOF'
data.tar.gz
data/
*.tar.gz
*.zip
EOF

# 3. 重新初始化 Git
git init
git add .
git commit -m "Initial commit: FourCastNet code only"

# 4. 强制推送(这次应该成功)
git remote add origin http://developer.sourcefind.cn/codes/bw_bestperf/fourcastnet_train.git
git push -f origin master