Giter Site home page Giter Site logo

igit's Introduction

igit

igit - interactive git command using fzf

igit

Requirements

Install

With zplug 🌺

zplug "ytakahashi/igit"

Manually

Clone this repository and load igit.plugin.zsh from .zshrc

source /path/to/igit.plugin.zsh

Usage

Available commands

% igit [command]

command: add, branch, cherry-pick, delete, diff, log, merge, stash, switch, tag

Basic usage

Basic operation on fzf window.

Key                                           Description          
Ctrl+j/n       Move cursor down      
Ctrl+k/p     Move cursor up       
Ctrl+c/g or Esc Exit                

igit specific operation on fzf window.

Key                     Description          
Ctrl+s  See selected file/branch/commit    
Alt+ key   Put git command using selected file/branch/commit onto the editing buffer stack

igit help

Show available commands.

igit add

Show current status and add selected files.

Key                                           Description          
Ctrl+i or Tab Mark/Unmark files    
Alt+a                  Add selected files    

igit branch

Show local and remote branchs.

Key                                     Description          
Alt+d               Delete selected branch              
Alt+c             Switch to selected branch                
Alt+m             Merge selected branch into current branch

igit cherry-pick

Show commit log and cherry-pick selected commit.

Key                                     Description          
Alt+c               Cherry-pick the commit

igit diff

Shows current status and see diff of selected file.

igit log

Show log of branch.  

Key                                     Description            
Alt+h               Reset (hard) to the commit 
Alt+s               Reset (soft) to the commit 

igit stash

Show stashes.

Key                                     Description                
Alt+a               Apply selected stash        
Alt+d               Drop selected stash         

igit tag

Show tags.

Key                                     Description                
Alt+c               Checkout selected tag       

Key Bingings

Following key bindings are available.

Key                                           Command          
Ctrl+g Ctrl+a   igit add       
Ctrl+g Ctrl+b   igit branch    
Ctrl+g Ctrl+l igit log       
Ctrl+g Ctrl+s  igit switch     

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.