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
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
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。