博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

github笔记(TBC)

Posted on 2014-08-31 20:49  corda  阅读(256)  评论(0)    收藏  举报
配置git:
git config --global user.name "Example Surname"
git config --global user.email "your.email@gmail.com"
# Set default so that all changes are always pushed to the repository
git config --global push.default "matching"

获取git配置信息:

git config --list

为终端配置高亮(?)

git config --global color.status auto
git config --global color.branch auto

创建.git文件夹

git init