1

I am creating an app with Ionic Framework & AngularJS. I am also tracking the project with git locally as well as remotely on bitbucket.

My setup:

$ ionic info

Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:  
Ionic Framework Version: 1.2.4
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
OS: Distributor ID: LinuxMint Description:  Linux Mint 17.1 Rebecca 
Node Version: v0.12.2

I have noticed that though my commits are being tracked, everything in my www folder isn't. On bitbucket I get this strange look:

screenshot from bitbucket showing www folder cannot be browsed & isn't being tracked

I have tried deleting the repository both on bitbucket and locally and starting again but still www isn't being tracked. As you can see on the timestamps on the commits this has been bothering me for over a month now. Please help!

  • dont see `www` folder timestamp as it was only uploaded for first time repository.check files timestamp under www folder – Wasiq Muhammad Sep 10 '16 at 14:34
  • @WasiqMuhammad no the time stamp is not the point of the question. Point of the question is how can I get www to be tracked together with the other files. Its not being tracked currently. – Charis The Programmer Sep 10 '16 at 19:17

1 Answers1

2

www is either a nested git repo whose gitlink SHA1 is recorded, or a submodule.
(most likely the former, since there is no .gitmodules)

If you want to get rid of it, you must do:

git rm www # no trailing slash
git add .
git commit -m "remove www"
git push

Then you can copy back www content and add/track it normally.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250