Skip to content

git operation selector on CLI powered by fzf. ✨git / GitHub / gitemoji✨

License

Notifications You must be signed in to change notification settings

ShotaroKataoka/Fuzzy-Git-Operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎉🎉Fuzzy Git Operator🎉🎉

An interactive Git Operator on zsh Terminal🚀

  • Easy Git/Github Operation
  • Enjoy colorful developing with emoji-prefix commit messages!

🥰Install

git clone git@github.com:ShotaroKataoka/Fuzzy-Git-Operator.git ~/.fgo
source ~/.fgo/install.zsh

🚀Update

cd ~/.fgo
git pull origin main
source ~/.fgo/update.zsh

🚮Uninstall

  1. Delete ~/.fgo
  2. Remove source ~/.fgo/fgo.zsh from ~/.zshrc

🔰Usage

Widget list

⌨General Keybindings

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

✨Git Emoji Selector✨

⌨ Key map: Alt-g Alt-e
You can select emoji for your joyful commit messages!

image

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.

✨Git Status Widget✨

⌨ Key map: Alt-g Alt-s
You can check git status easily without interrupting the command line input.

image

✨Git Diff Widget✨

⌨ Key map: Alt-g Alt-d
You can check git diff --cached easily without interrupting the command line input.

image

✨Git Log Selector✨

⌨ 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.

image

✨Git Branch Selector✨

⌨ Key map: Alt-g Alt-b
You can select and switch branch.

image

✨Git Add Selector✨

⌨ Key map: Alt-g Alt-a
You can select adding or resetting your changes using GItAddSelector.

image

✨Git Commit Widget✨

⌨ Key map: Alt-g Alt-c
Input git commit -m "". Your input will be wraped in "".

✨Git Push Selector✨

⌨ Key map: Alt-g Alt-p Alt-s
You can select your branches and push to remote.

image

✨Git Pull Selector✨

⌨ Key map: Alt-g Alt-p Alt-l
You can select your branches and pull from remote.

image

✨Git Help Widget✨

⌨ Key map: Alt-g Alt-h
Show help.

Contributors!

About

git operation selector on CLI powered by fzf. ✨git / GitHub / gitemoji✨

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages