2012-07-01, 01:23 AM
I'm trying to figure out the basics of GitHub. Being able to commit to my repository and that's about all I want to know.
I've set up my repository and cloned the repository to my local storage. I've created the README file (as said) and I've created an index.php file locally, and I want to commit it to my repository. I tried the following:
THEN
However, my index.php file isn't showing in my repository, and I'm not sure why.
Any help is appreciated.
I've set up my repository and cloned the repository to my local storage. I've created the README file (as said) and I've created an index.php file locally, and I want to commit it to my repository. I tried the following:
git add index.php
THEN
git commit -m "Initial commit."
However, my index.php file isn't showing in my repository, and I'm not sure why.
Any help is appreciated.