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/Github
Administrator@SKY-20170313FFD /E/Github
$ mkdir hello
Administrator@SKY-20170313FFD /E/Github
$ cd hello
Administrator@SKY-20170313FFD /E/Github/hello
$ pwd
/E/Github/hello
Administrator@SKY-20170313FFD /E/Github/hello
$ echo hello
hello
Administrator@SKY-20170313FFD /E/Github/hello
$ echo 'hello' > a.txt
Administrator@SKY-20170313FFD /E/Github/hello
$ cat a.txt
hello
Administrator@SKY-20170313FFD /E/Github/hello
$ cp a.txt b.txt
Administrator@SKY-20170313FFD /E/Github/hello
$ ls ..
Git github.jpg hello
Administrator@SKY-20170313FFD /E/Github/hello
$ move b.txt ../b.txt
sh: move: command not found
Administrator@SKY-20170313FFD /E/Github/hello
$ mv b.txt ../b.txt
Administrator@SKY-20170313FFD /E/Github/hello
$ ls
a.txt
Administrator@SKY-20170313FFD /E/Github/hello
$ mv a.txt c.txt
Administrator@SKY-20170313FFD /E/Github/hello
$ rm c.txt
git 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;">