Git工具分类
Git工具的下载与安装
- 一般启动用Git Bash
设置Git Bash 环境
LOOKS - CURSOR 光标颜色
在E盘放仓库
-在某一个盘建立仓库
-GitBash后面的波浪线代表当前目录Bash命令体验
Welcome to Git (version 1.9.5-preview20150319)
Run 'git help git' to display the help index.
Run 'git help ' to display help for specific commands.Administrator@SKY-20170313FFD /E/Github
$ pwd /E/GithubAdministrator@SKY-20170313FFD /E/Github
$ mkdir helloAdministrator@SKY-20170313FFD /E/Github
$ cd helloAdministrator@SKY-20170313FFD /E/Github/hello
$ pwd /E/Github/helloAdministrator@SKY-20170313FFD /E/Github/hello
$ echo hello helloAdministrator@SKY-20170313FFD /E/Github/hello
$ echo 'hello' > a.txtAdministrator@SKY-20170313FFD /E/Github/hello
$ cat a.txt helloAdministrator@SKY-20170313FFD /E/Github/hello
$ cp a.txt b.txtAdministrator@SKY-20170313FFD /E/Github/hello
$ ls .. Git github.jpg helloAdministrator@SKY-20170313FFD /E/Github/hello
$ move b.txt ../b.txt sh: move: command not foundAdministrator@SKY-20170313FFD /E/Github/hello
$ mv b.txt ../b.txtAdministrator@SKY-20170313FFD /E/Github/hello
$ ls a.txtAdministrator@SKY-20170313FFD /E/Github/hello
$ mv a.txt c.txtAdministrator@SKY-20170313FFD /E/Github/hello
$ rm c.txtgit config --list 查看配置信息
配置:
git config --global user.name "wangding"
git config --global user.email "xxxxxxx"git version 查看安装环境
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">