git push keeps asking for credentials

Hello

I am new to Gigalixir. I have set up the CLI and created an app with pg database from within a cloned git repository.

Now I want to git push to gigalixir. It is asking for my username and password but when provided, authentication fails. I am sure to be logged in first but I see no ~/.netrc file.

Hello. When you login with the CLI, be sure you select the option to write your credentials to .netrc file. Try logging out and back in (you are probably logged out if you dont have a .netrc file):

gigalixir logout
gigalixir login

If want to build the netrc by hand, you can do that too, it would look like this:

machine api.gigalixir.com
        login your@email.com
        password your-api-key
machine git.gigalixir.com
        login your@email.com
        password your-api-key

You can get your api key in our console if you wish: https://console.gigalixir.com.

If all else fails, write in to support at help@gigalixir.com