Can I link and commit Ionic v1 project in Pro?

Hi,

I am starting out in Pro and have successfully linked two Ionic 3 projects with my Pro account and pushed the code to the Ionic git repository. Builds are fine.

However, I have a v1 project that I originally made in Creator and exported locally as a ZIP archive.

Can I push this to Pro and use the package feature to build it ?

With the v3 projects, I just ran ionic link and created a new project in Pro when prompted. Then I ran “git push ionic master” and all good.

However, for the v1 project, ionic link displayed this message:

[OK] app_id set to “XXXXXX” in .\ionic.config.json!

ionic git remote
git init
[WARN] Initializing a git repository for your project.

   Before your first git push ionic master, you'll want to commit all the files in your project:

   git commit -a -m "Initial commit"

git remote add ionic git@git.ionicjs.com:username/repos-name.git
[OK] Added remote ionic.
[OK] Project linked with app XXXXXX!

Then I ran ** git commit -a -m “Initial commit” ** which gave me this:

On branch master

Initial commit

Untracked files:
.bowerrc
.editorconfig
.gitignore
bower.json
config.xml
gulpfile.js
hooks/
ionic.config.json
package-lock.json
package.json
resources/
scss/
www/

nothing added to commit but untracked files present

Finally, git push returned this:

error: src refspec master does not match any.
error: failed to push some refs to ‘git@git.ionicjs.com:username/repos-name.git’

Has anyone managed to get a v1 project uploaded ?

Fixed this. I missed out staging project resources by using git add .