32

Git status for multiple repositories at once

 5 years ago
source link: https://www.tuicool.com/articles/hit/BvIf2ar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

7bMVzq2.png!web Get more information for a single or multiple repositories with a single command.

Inspiration

Simultaneously working with multiple git repositories can be really annoying. Like the knowing the current branch names, is there anything to pull or push, or Do I have any uncommitted changes?

ges tries to solve this problem.

Installation

  1. Clone the repository in your home directory
git clone https://github.com/sandeep1995/git-extra-status.git $HOME
  1. Add the bin path in your global path. You can do it in your .bash_profile or .bashrc or .zshrc file.
export PATH=$PATH:$HOME/git-extra-status/bin

Single usage

Go to any git repository and execute

ges

nEJ3Yj3.png!web

Batch Usage

Go to any folder with multiple git repositories and then execute

ges *

UZvY32U.png!web


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK