Skip to content

Git extension to show incoming and outgoing changes, like in Mercurial (hg).

Notifications You must be signed in to change notification settings

Matthimatiker/git-in-and-git-out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

"git in" and "git out"

git in and git out commands to show incoming and outgoing changes, inspired by Mercurial's hg in and hg out.

Installation

Clone this repository:

git clone git@github.com:Matthimatiker/git-in-and-git-out.git

Add the bin directory to your PATH:

cd git-in-and-git-out
export PATH="`pwd`/bin:$PATH"

You can use these commands to add the path configuration directly to your .bashrc file:

cd git-in-and-git-out
echo "export PATH=\"`pwd`/bin:\$PATH\"" >> ~/.bashrc

Usage

Simply use git in and git out like any other git command.

Show incoming changes:

git in

Show outgoing changes:

git out

Known Issues

  • The scripts assume that the names of the local and remote branches are equal.
  • The scripts fail if no upstream branch is configured, but they do not damage anything.

About

Git extension to show incoming and outgoing changes, like in Mercurial (hg).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages