Welcome to the Treehouse Community
Looking to learn something new?
Sahar Nasiri7,454 Points
My project can't be seen in Github
I add one of my projects, it is .py file what I get are only .gitattributes and .gitignore! What do I do wrong?
Ryan Ruscett23,307 Points
Did you do the following:
- You must do "git add (file.py)" - This will add the file to be tracked to the index.
- git commit -m="added new file" -- This will commit the changes to the head and enter the commit message.
- Then do a git push. This will push your changes up to github.
You can test this with a "git status". It will show any folders not being watched in the directory by displaying them in red. If they are green, they were added, but not committed. If they are committed, than git status would return up to date.
let me know if that is the issue. thanks1