/git-scripts

Contains various scripts for working with Git.

Primary LanguageShell

Git scripts

Introduction

This repository contains various scripts for working with git.

Installation

To install a script, clone this repository and create a copy of the desired script in your $PATH:

$ git clone git@github.com:robin-owen/git-scripts
$ mkdir -p ~/bin
$ cp <path_to_script> ~/bin
Note

In most modern Linux distributions, the ~/bin directory is automatically added to your $PATH.

Using the scripts

These scripts can be run as git commands once they are in your $PATH. For example, to run the git-ls-branches script as a git command:

$ git ls-branches