git clone git-url git add . git comm -a -m ' desc ' git push
..然后还有一个..
如果一直提示
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account‘s default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got ‘vincent@ubuntu.(none)‘)
这里我吭了一下....
我按照提示
git config --global user.mail "you@example.com"
git config --global user.name "Your Name"
结果依然提示这个...
我擦..我才发现user.mail 大少一个e .......
原文地址:http://blog.csdn.net/frodo_sens/article/details/29195339