Skip to content

Check git origin for changes every time you cd into a git project

License

Notifications You must be signed in to change notification settings

git-girl/git-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Check ZSH Plugin

Adds a zsh hook to check if the origin of the current branch has changes to local in the background and sends a notification

Gif showing the behavior

Installing

  1. Clone this repository somewhere on your machine. This guide will assume ~/.zsh/git-check.
    git clone https://github.com/git-girl/git-check ~/.zsh/git-check
  2. Add the following to your .zshrc:
    source ~/.zsh/git-check/git-check.plugin.zsh
  3. Start a new terminal session.

oh-my-zsh

git clone https://github.com/git-girl/git-check ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/git-check
  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
    git clone https://github.com/git-girl/git-check ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/git-check
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
    plugins=( 
        # other plugins...
        git-check
    )
    
  3. Start a new terminal session.

About

Check git origin for changes every time you cd into a git project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages