mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
Add fcoc
@@ -7,6 +7,10 @@ Examples for fish shell
|
||||
function fco -d "Fuzzy-find and checkout a branch"
|
||||
git branch --all | grep -v HEAD | string trim | fzf | xargs git checkout
|
||||
end
|
||||
|
||||
function fcoc -d "Fuzzy-find and checkout a commit"
|
||||
git log --pretty=oneline --abbrev-commit --reverse | fzf +s | xargs git checkout
|
||||
end
|
||||
```
|
||||
|
||||
### SSH
|
||||
|
||||
Reference in New Issue
Block a user