Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Latest commit

 

History

History
65 lines (45 loc) · 2.21 KB

README.md

File metadata and controls

65 lines (45 loc) · 2.21 KB

ls-git

Do you find it annoying/verbose to figure out the status of files in your git repositories when using a terminal? If so, then ls-git is here to come to your rescue!

Designed to be a fast and effective union of ls and git status, this script allows you to see the status of files and directories in your repository in way that is both familiar and useful.

Symbol For Files For Directories
[ ] The file is up-to-date. Files in the directory are up-to-date.
[~] The file was modified or renamed. The directory has one or more modified, added, or renamed files.
[+] The file was added. N/A
[i] The file is ignored. All files in the directory are ignored.
[?] The file is untracked. The directory has one or more untracked files.

Warnings

  • This software is pre-alpha.
    As much as I would like to, I unfortunately cannot guarantee it will work for you.
    If you come across a bug or issue, please help out and report it.

  • This software does not automatically update.
    If something is broken, please try and re-install ls-git to see if it was fixed in the latest version.

Compatibility

Due to the complexity of ls, not all command-line switches are supported.

See here for a full compatibility list.

Requirements

In order to use ls-git, the following requirements must be met:

Programs:

  • git
  • tput
  • perl

Perl Modules:

  • Time::Moment
  • Math::Round

Installation

git clone 'https://github.com/eth-p/ls-git.git'
cd ls-git
./install --deps --to ~/.bin

This will install all required Perl modules, and save ls-git to ~/.bin/ls-git.

Updates

./install --update