git -c diff.mnemonicprefix=false -c core.quotepath=false clone --branch v1.0 https://git.oschina.net/test.git /Users/test
git add 文件名(多个文件名以空格隔开)
git commit -a -m ‘这是注释‘
git pull
git stash
git pull
git stash pop
git commit -a -m ‘注释‘
git commit -a -m ‘注释‘
git reset --hard
git pull
原文地址:http://blog.csdn.net/kaylio/article/details/46371913