Add to remote


#1

what's wrong

$ cd personal-website
bash: cd: personal-website: No such file or directory
$ git init repository
Initialized empty Git repository in /home/ccuser/workspace/daw/repository/.git/
$ git remote add repository https://github.com/your-user-name/repositoryname.github.io.git
fatal: Not a git repository (or any of the parent directories): .git
$


Add to remote
#2

Have you read the feedback you're getting from the commands as you're running them? Make sure that what you wanted to accomplish really happened before moving on with next command.


#3

ok i retry what you said


#4

still not work

$ cd personal-website
bash: cd: personal-website: No such file or directory
$ git init repository
Reinitialized existing Git repository in /home/ccuser/workspace/daw/repository/.git/
$ git remote add origin https://github.com/vallomences/vallomences-cc.github.io.git
fatal: Not a git repository (or any of the parent directories): .git
$


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.