-1
我對Git和Github的所有新手都很陌生,而且我非常生氣,因爲我無法完成工作:P和我已經閱讀了ALOT怎麼做...但它只推送1個文件,我有1個文件和2個地圖。Github:我無法推送我所有的文件
我在做什麼錯在這裏:
Simon-jensens-MacBook-Pro:github simonjensen$ git add .
Simon-jensens-MacBook-Pro:github simonjensen$ git commit -m 'first commit'
[master (root-commit) 82ae76d] first commit
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 index.php
Simon-jensens-MacBook-Pro:github simonjensen$ git remote add origin [email protected]:SimonJ/test.git
Simon-jensens-MacBook-Pro:github simonjensen$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 236 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To [email protected]:SimonJ/test.git
* [new branch] master -> master
Simon-jensens-MacBook-Pro:github simonjensen$
https://github.com/SimonJ/test
這與推送無關 - 這是您創建的提交。你可以用`git log -p`或者`gitk`查看它。它有你想要的文件嗎?它缺少什麼? – Cascabel 2011-01-28 01:10:00