Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 [email protected]: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

like image 846
SureshKumar Vegesna Avatar asked Dec 31 '25 19:12

SureshKumar Vegesna


1 Answers

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

like image 61
Adam Dymitruk Avatar answered Jan 03 '26 10:01

Adam Dymitruk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!