An interactive Git Operator on zsh Terminal🚀
- Easy Git/Github Operation
- Enjoy colorful developing with emoji-prefix commit messages!
git clone git@github.com:ShotaroKataoka/Fuzzy-Git-Operator.git ~/.fgo
source ~/.fgo/install.zsh
cd ~/.fgo
git pull origin main
source ~/.fgo/update.zsh
- Delete
~/.fgo
- Remove
source ~/.fgo/fgo.zsh
from~/.zshrc
Alt-g Alt-e
: Git Emoji SelectorAlt-g Alt-s
: Git Status WidgetAlt-g Alt-d
: Git Diff WidgetAlt-g Alt-l
: Git Log SelectorAlt-g Alt-b
: Git Branch SelectorAlt-g Alt-a
: Git Add SelectorAlt-g Alt-c
: Git Commit WidgetAlt-g Alt-p Alt-s
: Git Push SelectorAlt-g Alt-p Alt-l
: Git Pull SelectorAlt-g Alt-h
: Git Help Widget
Action | Key |
---|---|
Cursor Up | Alt-k or Up |
Cursor Down | Alt-j or Down |
Select | Alt-l or Right or Enter |
Abort | Alt-h or Left or Ctrl-c or ESC |
Multi-Select (GitAddSelector) | Tab or Shift-Tab |
Preview-Up | Ctrl-k |
Preview-Down | Ctrl-j |
Toggle-Preview | Alt-i |
⌨ Key map: Alt-g Alt-e
You can select emoji for your joyful commit messages!
Customize:
⚙️ Global emoji: Edit ~/.fgo/user/git_emoji_list.txt
⚙️ Local emoji (Each Git-Repository): Create .fgo_emoji_list.txt
to the top dir of each Git-Repository.
⌨ Key map: Alt-g Alt-s
You can check git status
easily without interrupting the command line input.
⌨ Key map: Alt-g Alt-d
You can check git diff --cached
easily without interrupting the command line input.
⌨ Key map: Alt-g Alt-l
You can check git log --oneline
with emoji while input the command line.
You can select and input commit id using GitLogSelector.
⌨ Key map: Alt-g Alt-b
You can select and switch branch.
⌨ Key map: Alt-g Alt-a
You can select adding or resetting your changes using GItAddSelector.
⌨ Key map: Alt-g Alt-c
Input git commit -m ""
. Your input will be wraped in ""
.
⌨ Key map: Alt-g Alt-p Alt-s
You can select your branches and push to remote.
⌨ Key map: Alt-g Alt-p Alt-l
You can select your branches and pull from remote.
⌨ Key map: Alt-g Alt-h
Show help.
- ShotaroKataoka (Maintainer!)
- yamamoto-yuta (Contributor!)