ionic does not appear to be a git repository

While working with ionic appflow setup. if you are getting this kind of error

git push ionic master
Fatal error: ‘ionic’ does not appear to be a git repository

you have linked app correctly using

ionic link

setup ssh key pair correctly but even then you are getting this error then please check one thing.

run command

git remote -v

if you get . or _ in username or repository name, please remove it, it will fix this issue.

for repository name, you have to change app name and for username, you may change it from settings page on ionic portal.

Related Articles

Github Code Scanning – Vulnerability Scanner by Justin Hutchings


Leave a Comment

5 × two =

* By using this form you agree with the storage and handling of your data by this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More