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

553 B
Raw Blame History

原创

02-图解Git笔记

02-图解Git笔记

图解Git笔记

参考:图解 Git

基本用法

命令详解

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