Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 688 Bytes

README.adoc

File metadata and controls

31 lines (22 loc) · 688 Bytes

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 [email protected]: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