Skip to content

Repository files navigation

git-functions

A, hopefully growing, collection of scripts to help me use git better/easier/more efficently/etc.

Usage

The script, in general, takes a command with the last argument being a comma separated list of line numbers referring to the files output from git status, starting at 1

e.g.,

gitdo add 1-3,5,-4,12-

or

cody git add 1-3,5,-4,12-

To ensure functionality, have this directory added to your path, or the scripts symlinked to a place that is. This will allow you to use gitdo itself, and the other scripts(git-*).

To use the git-* scripts, make sure that they are in your PATH. For the git-*l functions, just type git <name of script after git-> <comma separated line numbers>,

e.g.,

git addl 1-3,5,-4,12-

The other git-* scripts provide usage statements via the -h or --help flag

About

A collection of maybe vaguely useful scripts and tools for git based around operating on the file on the nth line of git status

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages