码迷,mamicode.com
首页 > 其他好文 > 详细

git 笔记

时间:2017-09-06 17:34:55      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:linux   地方   通过   user   功能   git命令   ash   tor   ace   

 
$ git config --list 
可以查看配置的一些东西。可以看到user.name 和user.email  分别是什么。。
 
如果你没有初始化过。那么直接进行初始化:
$  git config --global user.name "输入你的用户名"
$  git config --global user.email "输入你的邮箱"
 
 
1:使用--repalce-all 修改。
$  git config --global --replace-all user.email "输入你的邮箱" 
$  git config --global --replace-all user.name "输入你的用户名"
 
2:再说说git bash和git cmd的区别啊。。简单一句话,,git cmd是git bash的子集。所以直接用git bash就行了。 然后git gui是图形界面。
 

git 

版本控制工具,支持该工具的网站有Github、BitBucket、Gitorious、国内的osChina仓库、csdn仓库等等。

shell

是linux、unix系统的外壳,也可以理解为命令行,就是你输入并执行命令的地方,git通过命令行和图形界面两种方式使用shell。

bash

是shell的一种,最常用的shell之一。

git Bash

方便你在windows下使用git命令的模拟终端(windows自带的cmd功能太弱)linux、unix可以直接使用git。

git shell

它是安装了git的shell,bash是一种shell。

git 笔记

标签:linux   地方   通过   user   功能   git命令   ash   tor   ace   

原文地址:http://www.cnblogs.com/fer-team/p/7485928.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!