mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git delta usage
This commit is contained in:
parent
0fd45396ce
commit
30d2f07360
18
Commands.md
18
Commands.md
|
|
@ -699,4 +699,22 @@ $ pwd
|
|||
.../very-deep-from-root-directory
|
||||
$ cd `git root`
|
||||
$ git add . && git commit
|
||||
```
|
||||
|
||||
## git delta
|
||||
|
||||
Lists files that differ from another branch.
|
||||
|
||||
```bash
|
||||
$ touch README.md
|
||||
$ git setup
|
||||
$ git checkout -b hello
|
||||
$ echo hello >> README.md
|
||||
$ git delta
|
||||
README.md
|
||||
$ touch Makefile
|
||||
$ git add Makefile
|
||||
$ git delta
|
||||
Makefile
|
||||
README.md
|
||||
```
|
||||
Loading…
Reference in a new issue