踩了雷,特意写一下不需要上传的目录及目录下的所有文件该如何书写
# 不需要上传的目录及目录下的所有文件
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