#command #git-repository #git-diff #staging #dp #directory #pending

yanked dp2

diff files pending staging in git repository, optionally limited to a given file or directory

0.8.0 Nov 16, 2019
0.0.1 Nov 14, 2019
0.0.0 Nov 14, 2019

#7 in #pending

ISC license

8KB
57 lines

dp2

Crates.io

This crate provides the dp command, and is part of the repotools set of utilities.

You can install all of the repotools utilites by running the following command in your terminal:

cargo install repotools

If you want to install only some of them, you can install them individually. Refer to the repotools for the full list of utilities and links to their individual crates.

To install dp utility individually, run the following command in your terminal:

cargo install dp2

Usage

dp [<path>...] – diff files pending staging in git repository, optionally limited to one or more files or directories

When you look at what changes you want to stage for commit, you type dp.

dp is like git diff, only more awesome.

Dependencies

~0.5–0.9MB
~13K SLoC