summaryrefslogtreecommitdiffstats
path: root/ADVANCED.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-08-25 17:54:35 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-08-25 17:54:35 +0900
commit8a5f7199649d56a92474676c9cf626204e3e8bcb (patch)
tree732b71089ded22d173e27d401ae2473611735d23 /ADVANCED.md
parent209d5e8e9089d33694e40faa81107e07ff4f171f (diff)
ADVANCED: fzf-git.sh
Diffstat (limited to 'ADVANCED.md')
-rw-r--r--ADVANCED.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/ADVANCED.md b/ADVANCED.md
index ed18c61c..dcff947c 100644
--- a/ADVANCED.md
+++ b/ADVANCED.md
@@ -1,7 +1,7 @@
Advanced fzf examples
======================
-*(Last update: 2021/05/22)*
+*(Last update: 2022/08/25)*
<!-- vim-markdown-toc GFM -->
@@ -496,9 +496,17 @@ pods() {
Key bindings for git objects
----------------------------
-I have [blogged](https://junegunn.kr/2016/07/fzf-git) about my fzf+git key
-bindings a few years ago. I'm going to show them here again, because they are
-seriously useful.
+Oftentimes, you want to put the identifiers of various Git object to the
+command-line. For example, it is common to write commands like these:
+
+```sh
+git checkout [SOME_COMMIT_HASH or BRANCH or TAG]
+git diff [SOME_COMMIT_HASH or BRANCH or TAG] [SOME_COMMIT_HASH or BRANCH or TAG]
+```
+
+[fzf-git.sh](https://github.com/junegunn/fzf-git.sh) project defines a set of
+fzf-based key bindings for Git objects. I strongly recommend that you check
+them out because they are seriously useful.
### Files listed in `git status`
@@ -518,9 +526,6 @@ seriously useful.
![image](https://user-images.githubusercontent.com/700826/113473765-91692080-94a6-11eb-8d38-ed4d41f27ac1.png)
-
-The full source code can be found [here](https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f17236).
-
Color themes
------------