git常见指令

上传文件:

git add .          //添加到静态库

git commit -m "xxxxxx"       //加修改注释

git push     //推到远程仓库

 查看所有版本:

git reflog

返回上个版本:

git reset --hard 478ff3e

 

posted @ 2015-10-08 16:30  dvF  阅读(82)  评论(0)    收藏  举报