File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 67
67
* [ Ignore one file on commit (e.g. Changelog).] ( https://github.com/git-tips/tips#ignore-one-file-on-commit-eg-changelog )
68
68
* [ Stash changes before rebasing] ( https://github.com/git-tips/tips#stash-changes-before-rebasing )
69
69
* [ Fetch pull request by ID to a local branch] ( https://github.com/git-tips/tips#fetch-pull-request-by-id-to-a-local-branch )
70
- * [ Show the most recent tag on the current branch] ( https://github.com/git-tips/tips#show-the-most-recent-tag-on-the-current-branch )
70
+ * [ Show the most recent tag on the current branch.] ( https://github.com/git-tips/tips#show-the-most-recent-tag-on-the-current-branch )
71
+ * [ Show inline word diff.] ( https://github.com/git-tips/tips#show-inline-word-diff )
71
72
72
73
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
73
74
<!-- @doxie.inject end toc -->
@@ -474,10 +475,15 @@ __Alternatives:__
474
475
git pull origin pull/< id> /head:< branch-name>
475
476
```
476
477
477
- ## Show the most recent tag on the current branch
478
+ ## Show the most recent tag on the current branch.
478
479
``` sh
479
480
git describe --tags --abbrev=0
480
481
```
481
482
483
+ ## Show inline word diff.
484
+ ``` sh
485
+ git diff --word-diff
486
+ ```
487
+
482
488
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
483
489
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 270
270
"alternatives" : [" git pull origin pull/<id>/head:<branch-name>" ]
271
271
},
272
272
{
273
- "title" : " Show the most recent tag on the current branch" ,
273
+ "title" : " Show the most recent tag on the current branch. " ,
274
274
"tip" : " git describe --tags --abbrev=0"
275
+ },
276
+ {
277
+ "title" : " Show inline word diff." ,
278
+ "tip" : " git diff --word-diff"
275
279
}
276
280
]
You can’t perform that action at this time.
0 commit comments