踩了雷,特意写一下不需要上传的目录及目录下的所有文件该如何书写

# 不需要上传的目录及目录下的所有文件
Lenet/__pycache__
Lenet/.vscode
Lenet/data

github的基本操作

# clone
git clone git@github.com:yingmuzhi/artificial_intelligence.git

# 删除commit后的cache文件
# git rm -r --cached [directory name]
git rm -r --cached Lenet

# add
git add .

# commit
git commit -m "add Lenet"

# push
git push
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐