mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
Updated Examples (markdown)
17
Examples.md
17
Examples.md
@@ -569,6 +569,23 @@ fgst() {
|
||||
}
|
||||
```
|
||||
|
||||
Interactive fixup of a commit
|
||||
|
||||
```
|
||||
function git-fixup () {
|
||||
git ll -n 20 | fzf | cut -f 1 | xargs git commit --no-verify --fixup
|
||||
}
|
||||
```
|
||||
|
||||
Usage:
|
||||
|
||||
```
|
||||
git fixup
|
||||
git rebase -i master --autosquash
|
||||
```
|
||||
|
||||
[Article on fixup and autosquash](https://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html).
|
||||
|
||||
### JRNL
|
||||
|
||||
Suggested by [@windisch](https://github.com/windisch). Only tested under zsh.
|
||||
|
||||
Reference in New Issue
Block a user