Search code examples
githerokuversion-control

initialized empty git repository


i tried first sample Facebook App on Heroku in this command prompt i write like this

1)$git remote  
2)$git remote add heroku git@heroku.com:stellent.git

responses like this

not a repository (or any of the parent directories): git

i enter $git init response is

initialized  empty git repository in C

Is there any way to find correct responces

thanks for advice


Solution

  • create a directory and go into it:

    mkdir project
    cd !$
    

    initialize this as a git repo

    git init
    

    now you can run your remote commands