How to deploy your existing project if git is not initialised

This tutorial will help you deploy your work if you encounter this message:

Option 1: Deploy without git process

$ insites deploy --ignore-quality

Option 2: Intialize git

  1. Initialize git in your local directory
$ git init
  1. Add file contents to repository
$ git add .
  1. Commit changes to repository
$ git commit -m "Commit message"
  1. Add remote url repository
$ git remote add origin <remote repository URL>
  1. Check new repository
$ git remote -v
  1. Deploy to environment
$ insites deploy [environment_name]