{ "info": { "author": "Luke Stebbing", "author_email": "luke@lukestebbing.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 7 - Inactive" ], "description": "GitPrompt displays the current branch, the status of stash and rebase,\r\nand optionally, non-zero exit status codes.\r\n\r\n\r\n.. contents::\r\n\r\n\r\nExamples\r\n--------\r\nTo follow along, create a new repository and set your prompt::\r\n\r\n $ git init; touch x; git add x; git commit -m x\r\n $ export PS1='cwd$(../gitprompt $?) $ '\r\n\r\nThe current branch is displayed::\r\n\r\n cwd master $ git checkout -b new\r\n cwd new $ git checkout master\r\n cwd master $ echo y1 > y; git add y; git commit -m y1; git checkout new\r\n\r\nThe number of saved stashes is indicated::\r\n\r\n cwd new $ echo y2 > y; git add y; git stash save\r\n cwd new stash $ touch z; git add z; git stash save\r\n cwd new stashes! $ git stash pop ; git stash pop\r\n\r\nWhether a rebase is in progress is indicated::\r\n\r\n cwd new $ git rebase master\r\n cwd new rebase! $ git rebase --abort\r\n cwd new $ git config core.editor true; git rebase --interactive master\r\n cwd new rebase! $ git rebase --abort\r\n\r\nIf ``gitprompt`` was passed a non-zero exit code, it will be displayed::\r\n\r\n cwd new $ true\r\n cwd new $ false\r\n => 1\r\n cwd new $\r\n\r\n\r\nHistory\r\n-------\r\n\r\n\r\n0.1.1 -- 2009 Oct 26\r\n====================\r\n- Corrected minor metadata errors.\r\n\r\n0.1 -- 2009 Oct 26\r\n==================\r\n- Display the current branch and the status of stash and rebase.\r\n- Optionally display non-zero exit codes.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/GitPrompt", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "GitPrompt", "package_url": "https://pypi.org/project/GitPrompt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/GitPrompt/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/GitPrompt" }, "release_url": "https://pypi.org/project/GitPrompt/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Display git repository information in a command prompt.", "version": "0.1.1" }, "last_serial": 743272, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "50b28722faa4f8aa1bf3ac4a6fd902b5", "sha256": "bf2258c14dd4460c1e7a26808b22a697a06cb53a0ef4715d5ed3c5cef6852e54" }, "downloads": -1, "filename": "GitPrompt-0.1.tar.gz", "has_sig": true, "md5_digest": "50b28722faa4f8aa1bf3ac4a6fd902b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3646, "upload_time": "2009-10-26T05:49:26", "url": "https://files.pythonhosted.org/packages/fb/e0/9c7b58a127d1cdbfabf318258e1e0fef0da15b88677cdb0053aa69a45ace/GitPrompt-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eddc0713618b80610298e27fd0eb3694", "sha256": "d65f91c64408f4aa1ba5c9d5f72cd843b40ed4d6f54da8e32fcc4fc0bb07f6c9" }, "downloads": -1, "filename": "GitPrompt-0.1.1.tar.gz", "has_sig": true, "md5_digest": "eddc0713618b80610298e27fd0eb3694", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3666, "upload_time": "2009-10-26T05:57:46", "url": "https://files.pythonhosted.org/packages/e3/67/0c719ee21ee9aaaf710368cdaeac38c69430d13e695eb125f4298607cf85/GitPrompt-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eddc0713618b80610298e27fd0eb3694", "sha256": "d65f91c64408f4aa1ba5c9d5f72cd843b40ed4d6f54da8e32fcc4fc0bb07f6c9" }, "downloads": -1, "filename": "GitPrompt-0.1.1.tar.gz", "has_sig": true, "md5_digest": "eddc0713618b80610298e27fd0eb3694", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3666, "upload_time": "2009-10-26T05:57:46", "url": "https://files.pythonhosted.org/packages/e3/67/0c719ee21ee9aaaf710368cdaeac38c69430d13e695eb125f4298607cf85/GitPrompt-0.1.1.tar.gz" } ] }