di2

Crates.iodi2
lib.rsdi2
version0.8.0
sourcesrc
created_at2019-11-14 00:52:40.201368
updated_at2019-11-16 05:15:05.738263
descriptiondiff files staged for commit in git repository, optionally limited to a given file or directory
homepage
repositoryhttps://github.com/ctsrc/repotools/tree/master/di2
max_upload_size
id181086
size15,937
(throwaway1676847773)

documentation

README

di2

Crates.io

This crate provides the di 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 di utility individually, run the following command in your terminal:

cargo install di2

Usage

di [<path>...] – diff files staged for commit in git repository, optionally limited to one or more files or directories

Prior to committing, and also now and then while still working on the code, it is very useful to review what you are about commit, both to ensure that you are about to commit what you think you are about to commit, and in order to write useful commit messages that accurately describe the changes.

di shows the diff for the staged changes against HEAD.

di is like git diff --cached, only more awesome.

Commit count: 90

cargo fmt