简体   繁体   English

无法将IonicApp / www推送到GitHub

[英]Cannot push IonicApp/www to GitHub

I pushed my newly initialized Ionic Apps to GitHub using the common practice: 我按照惯例将新初始化的Ionic Apps推送到GitHub:

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

But after this I went to check my Ionic project, everything was there except www folder. 但是之后,我去检查了我的Ionic项目,除了www文件夹,其他所有内容都在那里。 Can anyone tell me what went wrong? 谁能告诉我出了什么问题?

There is a file named .gitignore, which limits the content for git 有一个名为.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

you could edit the file(delete www/). 您可以编辑文件(删除www /)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM