I'm somewhat new applications with ionic and very new to the subject of the repositories, when I do a commit endless files are uploaded that I find it very difficult to identify what are the changes in the project, that's why I wanted ask for help here, if I can guide you ignore files, if a file exists by default to occupy and where, since most of the work is done in the www folder. Sorry if the question is very basic but I would serve far solve this problem.
相关问题
- Plugin with id 'com.google.gms.google-services
- How to pass form data from Ionic 3 to PHP file?
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- apk big size with ionic 4 build
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- Ionic 4: Hardware Back Button Reloading Applicatio
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
When using Ionic 2, the scaffolder (starter) project provides you a .gitignore file out of the box. It pretty much covers all the essential files that one wishes to untrack.
The .gitignore file present in your starter project should look like this:
For how to boot up a scaffolder Ionic 2 project, given that you have all the pre-requisite npm modules installed:
Inside the new directory MyProject/ created just now, you'll find the default .gitignore that comes with this starter/template project structure.
You can use this gitignore
For more details view this link http://forum.ionicframework.com/t/whats-a-good-gitignore-for-an-ionic-project/4115
The problem here is that if you already add all those files, once you put the
.gitignore
it will not work as you want. You need to put the.gitignore
at the very beginning of your project.So, my advise: make another project in Git, just upload your project again and create the
.gitignore
file. I am telling you this based on my own experience.The basics of what you should put in that
.gitignore
in order to create this file, you can do it from Git, or from your terminal:
$ touch .gitignore
to create a.gitignore
file.