1,git clone url
拉取代碼至本地
2,mkdir 文件夾名稱
在本地創建文件夾
3,cd 文件夾名稱
git init
初始化文件夾
vi .gitkeep
創建.gitkeep文件,內容如下
# Ignore everything in this directory * # Except this file !.gitkeep
4,回到上級目錄,git add .
5,git commit -m '提交信息'
6,git push origin master