csdn_spider/blog/ds19991999/原创-- 02-图解Git笔记.md

41 lines
553 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 原创
02-图解Git笔记
# 02-图解Git笔记
# 图解Git笔记
>
参考:[图解 Git](http://marklodato.github.io/visual-git-guide/index-zh-cn.html)
## 基本用法
## 命令详解
### Diff
```
git diff maint(分支名)
git diff b325c da985
git diff --cached
git diff
git diff HEAD
```
### Commit
或者
如果想**更改一次提交**,使用 `git commit --amend`。git会使用与当前提交相同的父节点进行一次新提交旧的提交会被取消。
### Checkout
### Reset
### Merge
### Cherry Pick
### Rebase