簡體   English   中英

無法將IonicApp / www推送到GitHub

[英]Cannot push IonicApp/www to GitHub

我按照慣例將新初始化的Ionic Apps推送到GitHub:

git add .
git commit -m ""
git push origin master

但是之后,我去檢查了我的Ionic項目,除了www文件夾,其他所有內容都在那里。 誰能告訴我出了什么問題?

有一個名為.gitignore的文件,該文件限制了git的內容

# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore

*~
*.sw[mnpcod]
*.log
*.tmp
*.tmp.*
log.txt
*.sublime-project
*.sublime-workspace
.vscode/
npm-debug.log*

.idea/
.ionic/
.sourcemaps/
.sass-cache/
.tmp/
.versions/
coverage/
dist/
node_modules/
tmp/
temp/
platforms/
plugins/
plugins/android.json
plugins/ios.json
www/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate

您可以編輯文件(刪除www /)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM