MyBB Community Forums

Full Version: GitHub Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
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. Smile
After committing, you have to push the changes. I use a Git client but IIRC the command is git push.

git add index.php
git commit -m "Initial commit."
git push
Thanks Nathan Malcolm, that got my problem solved. Smile