标签:git
$ git config --global user.name "Some One"
$ git config --global user.email "someone@gmail.com"
$git checkout master session/service/DataAnalysis.py
$git add session/service/DataAnalysis.py
$git remote add yanghaogn git@github.com:yanghaogn/someproject.git
# shows URLs of each remote server
$ git remote -v
# gives more details about each
$ git remote show name
git branch -m newName
git branch -m oldName newName
如果你不使用‘git log’查看最近提交历史的话,你就不能长时间顺利地使用 Git。但是,也存在一些如何更好使用它的建议。例如,你可以查看每次提交中改变的一个补丁:
$ git log -p
或者你可以只是查看一个哪些文件有所更改的概述:
$ git log –stat
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:git
原文地址:http://blog.csdn.net/jiewuyou/article/details/48048239