Git Lesson 5 Can't Add


#1

I'm trying to add my site's contents and commit, but I'm getting this error message:

$ cd personal-website
$ git init
Initialized empty Git repository in /home/ccuser/workspace/daw/personal-website/.git/
$ git remote add origin https://github.com/nonunoise/gettingstarted.github.io.git
$ git remote -v
origin https://github.com/nonunoise/gettingstarted.github.io.git (fetch)
origin https://github.com/nonunoise/gettingstarted.github.io.git (push)
$ git add personal-website
fatal: pathspec 'personal-website' did not match any files
$ git commit -m "Save my work"
On branch master

Initial commit

Untracked files:
.gitignore
_config.yml
_includes/
_layouts/
_posts/
_sass/
about.md
css/
feed.xml
index.html

nothing added to commit but untracked files present

Can anyone see what I'm doing wrong here?


#2

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