Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple script to make the commands 'git status'/'git diff' or 'hg status'/'hg diff' run with a one key command - the s key.

Project Description
StatKey
=======

Get the status of a git repo with a one key command:

$ cd ~/mygitrepo
$ s
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean

Or a mercurial repo, and it will show a diff for either type of repo if it is < 80 lines:

$ cd ~/mymercurialrepo
$ s
diff -r d511abd3422a bin/p
--- a/bin/p Thu Feb 19 21:25:35 2015 +0800
+++ b/bin/p Thu Feb 19 23:52:35 2015 +0800
@@ -25,8 +25,8 @@
fi


-#if [ "$1" == "d" ]; then
-# cd $PROJECTDIR
-# bash
-#fi
+if [ "$1" == "d" ]; then
+ cd $PROJECTDIR
+ bash
+fi

==========
M bin/p


Install
=======

First ensure you have python pip installed, then run:

$ sudo pip install statkey
Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
statkey-0.2.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Mar 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting