{ "info": { "author": "Qingshan Zhuan", "author_email": "zhuanqingshan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development", "Topic :: Software Development :: Version Control", "Topic :: Software Development :: Version Control :: Git", "Topic :: Terminals", "Topic :: Utilities" ], "description": ".. start-badges\n\n.. list-table::\n :stub-columns: 1\n\n * - License\n - |license|\n * - CI\n - |travis|\n * - Packages\n - |version| |pypi_format| |supported-versions|\n\n.. |travis| image:: https://travis-ci.org/qszhuan/git-x.svg?branch=master\n :target: https://travis-ci.org/qszhuan/git-x\n\n.. |license| image:: https://img.shields.io/github/license/qszhuan/git-x?style=plastic\n :alt: GitHub license\n :target: https://github.com/qszhuan/git-x/blob/master/LICENSE\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/git-x\n :alt: PyPI - Python Version\n\n.. |version| image:: https://img.shields.io/pypi/v/git-x?color=green&style=plastic\n :alt: PyPI\n\n.. |pypi_format| image:: https://img.shields.io/pypi/format/git-x\n :alt: PyPI - Format\n\n\n==========================================\ngit-x - a set of handy git extensions.\n==========================================\n\nInstallation\n==========================================\n\n.. code-block:: text\n\n pip install git-x --upgrade \n\nHow to Use\n==========================================\n\nShow help message\n-----------------------------------------\n\nRun \n\n.. code-block:: sh\n\n git-x \n\n, or ignore the ``-`` in ``git-x``:\n\n\n.. code-block:: sh\n\n git x\n\n\nIt will output the help message, which showing all the available commands:\n\n.. code-block:: sh\n\n $ git x\n Usage: git-x [OPTIONS] COMMAND [ARGS]...\n\n Options:\n -h Show this message and exit.\n\n Commands:\n a Add file contents to the index\n amend Amend files into repository\n b Show current branch name\n ci Commit all the indexed files\n cia Add files into index and commit\n clb Clean merged local branch.\n co Checkout/Create branch\n llg Show recent logs\n m Merge codes from branch to current branch\n p Pull latest code\n pr Create pull request from current branch to \n st Show the working tree status\n up Create remote branch\n\n\n*Note: If you have an exe like* ``git-x.exe`` *in windows, or* ``git-x.sh`` *in linux or mac, you can run the command with* ``git x`` *directly. This is handled by git.*\n\nRun commands\n------------------------------\n\n\n``git-x`` includes a list of commands, let's take ``st`` as an example:\n\nThere are several ways to run the command:\n\n1. Run with ``git-x``\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nRun\n\n.. code-block:: sh \n\n git x st -h \n\n\nOr,\n\n .. code-block:: sh\n\n git-x st -h\n\nIt will output the help doc of ``st`` command:\n\n.. code-block::\n\n $ git x st -h\n Usage: git-x st [OPTIONS]\n\n Show file status, same as 'git status'\n\n Options:\n -h Show this message and exit.\n\n2. Run with ``git-`` or ``git``\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou may see that in the Usage line, it shows ``git-st``, which means that you can run the commands listed above with ``git-``:\n\n.. code-block:: sh\n\n git-st -h\n\nOr, even run with ``git``:\n\n.. code-block:: sh\n\n git st -h\n\nThey both output the help doc of ``st`` command:\n\n.. code-block:: sh\n\n $ git-st -h\n Usage: git-st [OPTIONS]\n\n Show file status, same as 'git status'\n\n Options:\n -h Show this message and exit.\n\nUsages of all commands\n==========================================\n\nIn the next we will show the detailed usage of each commands:\n\ngit x\n-------------------------------------------\n\nList out all the available commands:\n\n::\n\n Usage: git-x [OPTIONS] COMMAND [ARGS]...\n\n Options:\n -h Show this message and exit.\n\n Commands:\n a Add file contents to the index\n amend Amend files into repository\n b Show current branch name\n ci Commit all the indexed files\n cia Add files into index and commit\n clb Clean merged local branch.\n co Checkout/Create branch\n llg Show recent logs\n m Merge codes from branch to current branch\n p Pull latest code\n pr Create pull request from current branch to \n st Show the working tree status\n up Create remote branch\n\ngit a\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-a [OPTIONS] \n\n Add file that specified in contents into the index.\n Ignore/Remove the file contents from the index if the files are specified in the -x option.\n The syntax is same as the one in 'git status' parameter.\n\n Examples:\n 1. Add all sql files:\n git a *.sql\n 2. Add all files, but ignore all config files(ending with .config extensions)\n git a . -x *.config\n 3. Ignore multiple files(*.config, *.md) by using more than one '-x' to specify multiple patterns.\n git a . -x *.config -x *.md //There is an known issue on mac or linux system,as the *.md will be auto expanded into a file list. In this case, you can use \" to wrap the paramter. like git a . -x \"*.config\"\n 4. Remove all config files from the index\n git -x *.config\n\n Options:\n -x, --exclude Exclude the files that match the pattern(same as\n the for 'git add' command)\n -h Show this message and exit.\n\ngit amend\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-amend [OPTIONS]\n\n Amend files into repository, this only amend the files that already in the index.\n\n Examples:\n 1. Amend without editing\n git amend\n 2. Amend, and edit the commit message, this will open the editing window,\n depends on what editor is configured in git.\n git amend -e\n\n Options:\n -e, --edit Prompt edit window [default: False]\n -h Show this message and exit.\n\ngit b\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-b [OPTIONS]\n\n Show current branch name.\n\n Example:\n git b\n\n Options:\n -h Show this message and exit.\n\ngit ci\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-ci [OPTIONS] \n\n Commit all the indexed files into repository, same as 'git commit -m '.\n\n Example:\n git ci \"This is the comment.\"\n\n Options:\n -h Show this message and exit.\n\ngit cia\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-cia [OPTIONS] \n\n Add content files into index, and then create a new commit.\n By default it will add all the files under the current folder.\n You can ignore/remove files by specifying in the '-x' option.\n This is a combination of the following commands:\n `git a . -x `\n `git commit -m `\n\n Examples:\n 1. Add all files and create a commit.\n git cia \"This is the comment\"\n 2. Exclude *.config files, and create a commit.\n git -x *.config \"This is the comment\"\n 3. Exclude the *.cs and *.config files, and create a commit.\n git -x *.config -x *.cs \"This is the comment\"\n\n Options:\n -x, --exclude \n -h Show this message and exit.\n\ngit clb\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-clb [OPTIONS]\n\n Clean merged local branch.\n It will always let user to confirm before remove.\n By default, it will ignore current branch and branches with name master, dev, develop, trunk.\n Because those branches are mostly used as trunk/release branches.\n\n\n Options:\n -h Show this message and exit.\n\ngit co\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-co [OPTIONS] \n\n Check out the branch matching the string in .\n If multiple branches include the text, all those branches will be listed and let user to choose.\n This only works if '-b' is not present.\n If '-b' is present, a new branch with name will be created.\n\n Examples:\n Suppose we have 4 existing branches - master, develop, feature_1, feature_2\n 1. Switch to an existing branch 'develop'\n git co develop\n 2. Create a new branch 'feature_3'\n git co -b feature_3\n 3. Create a new branch, and set the start point with \n git co -b feature_3 32aa51b\n 4. Switch to a branch with name like 'feature_*'\n gi co feature_\n\n Then it will list all indexed branches with 'feature_' in the name, and let the user to choose:\n\n Found 4 branches including \"feature_\":\n ====================\n 0: feature_1\n 1: feature_2\n ====================\n Please select branch by index:\n\n Then, the user can choose 0, click ENTER to switch to feature_1 branch.\n\n Options:\n -b Indicate to create the branch if it doesn't exist, same to '-B' option\n in 'git checkout' command. [default: False]\n -h Show this message and exit.\n\ngit llg\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-llg [OPTIONS] \n\n Show recent logs, the default number is 5.\n This is same as 'git log --oneline -n '\n\n Example:\n 1. Show recent 5 commit messages.\n git llg\n 2. Show recent 6 commit messages.\n git llg 6\n 3. Show with graph\n git llg -g\n 4. Show with graph, author, and date\n git llg -gad\n\n Options:\n -g, --graph Show in graph mode\n -a, --author Show the author name of each commit\n -d, --date show relative date of each commit\n -h Show this message and exit.\n\ngit m\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-m [OPTIONS] \n\n Merge codes from branch to current branch.\n It will switch to branch , pull the latest code, and then switch back to previous branch,\n and merge the code from into current branch. You need to make sure that there is no unstaged changes.\n\n Examples:\n 1. Merge latest code from master branch to current branch(develop)\n git m master\n\n Options:\n -h Show this message and exit.\n\ngit p\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-p [OPTIONS]\n\n Pull the latest code from remote with '--rebase' option.\n It is same as 'git pull --rebase'\n\n Options:\n -h Show this message and exit.\n\ngit pr\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-pr [OPTIONS] \n\n Create pull request from current branch to .\n Currently it only support to raise pull request to github and bitbucket.\n The repository url is retrieved from the .git/config file.\n\n Examples:\n 1. Create PR against master branch\n git pr master\n\n Options:\n -h Show this message and exit.\n\ngit st\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-st [OPTIONS]\n\n Show the working tree status, same as 'git status'\n\n Options:\n -h Show this message and exit.\n\ngit up\n-------------------------------------------\n\nThis is the description and example of this command:\n\n::\n\n Usage: git-up [OPTIONS]\n\n Create remote branch,\n same as 'git push --set-upstream origin'\n\n Options:\n -h Show this message and exit.\n\n\n\n\n**Notice**:\n\n You need to install git cli tool first, as all the commands will call the native git commands eventually.\n\n\nFinally, happy ``git``-ing with ``git-x``.\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/qszhuan/git-x", "keywords": "git extension,git,git-x", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "git-x", "package_url": "https://pypi.org/project/git-x/", "platform": "", "project_url": "https://pypi.org/project/git-x/", "project_urls": { "Bug Tracker": "https://github.com/qszhuan/git-x/issues", "Documentation": "https://github.com/qszhuan/git-x/wiki", "Homepage": "https://github.com/qszhuan/git-x", "Source Code": "https://github.com/qszhuan/git-x" }, "release_url": "https://pypi.org/project/git-x/0.3.1/", "requires_dist": [ "colorama", "click" ], "requires_python": "", "summary": "git-x - a set of handy git extensions.", "version": "0.3.1" }, "last_serial": 5792471, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "1e6f2d145d2defa8bab8de4d68eb8dbe", "sha256": "627842722a0a4a8ca1f3a110bd9e6c9eacdff891e4af329b19742c1ecf85caf1" }, "downloads": -1, "filename": "git_x-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e6f2d145d2defa8bab8de4d68eb8dbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12278, "upload_time": "2019-08-03T10:39:37", "url": "https://files.pythonhosted.org/packages/33/47/251fd21ee98083ad4103649a35bfe74df9bac7ed2797380b05949abf6f95/git_x-0.0.3-py2.py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "13691d2317dcbdf954a3ca269ac826bc", "sha256": "4c688f17c0868b6f1125b142360463f889497ab06f486e65a59b644730368313" }, "downloads": -1, "filename": "git_x-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13691d2317dcbdf954a3ca269ac826bc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12289, "upload_time": "2019-08-03T10:50:33", "url": "https://files.pythonhosted.org/packages/4c/28/c42bf728e07b46b10f13f2bc53702b6e0191b0e4c0b5933a5eb467f06637/git_x-0.0.4-py2.py3-none-any.whl" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "9248e5abcc8c6641b14bdf96205054be", "sha256": "7cca68ab8f645bb62677e9c3e76e61623029252e5efb56cd2ec1a7b97a34a15c" }, "downloads": -1, "filename": "git_x-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9248e5abcc8c6641b14bdf96205054be", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12242, "upload_time": "2019-08-03T11:17:12", "url": "https://files.pythonhosted.org/packages/1d/0d/54ef87337303a944ca8b423a6fd7d57cb2a9593ddf5c33470822f418d996/git_x-0.0.5-py2.py3-none-any.whl" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2f78db55f855eb2e43d29809a8f55547", "sha256": "85beb89b0c559ec210187b9f108bc287a956380a1b97e31f99a48531ff5faf61" }, "downloads": -1, "filename": "git_x-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2f78db55f855eb2e43d29809a8f55547", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12421, "upload_time": "2019-08-03T13:21:38", "url": "https://files.pythonhosted.org/packages/2e/80/11a567a2040f5b19a7b611bf33f3f5a5f9e25561dc4e9aeb1dde9b0166af/git_x-0.0.6-py2.py3-none-any.whl" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "bc5526108ea76c78386d766c07813d47", "sha256": "1f053be45776d80c7796ea956091d617a45978eff60435d7d779b902a716e056" }, "downloads": -1, "filename": "git_x-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc5526108ea76c78386d766c07813d47", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14089, "upload_time": "2019-08-05T10:33:54", "url": "https://files.pythonhosted.org/packages/80/39/b6eb78a6d7e63967891afaffe9958d7c20e88b1c403ad649d4bb0e25fd93/git_x-0.0.7-py2.py3-none-any.whl" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1010f90e50042dac398eb4b4a19410e0", "sha256": "8ec09d05692ac2dbcfe6091f94e213939497d9715b22e3d02562b9da451f993b" }, "downloads": -1, "filename": "git_x-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1010f90e50042dac398eb4b4a19410e0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14314, "upload_time": "2019-08-05T12:36:51", "url": "https://files.pythonhosted.org/packages/a5/54/4f431eadefb020bd447e61ff907fcedbe3601091b16e479d257c564b9a4c/git_x-0.0.8-py2.py3-none-any.whl" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "a51390a61dcb285692dd180721bf6aec", "sha256": "ae97a4d9fac72448a5fc7e599ec4b70cecdb84a6bcfd61ab48b29075c979284e" }, "downloads": -1, "filename": "git_x-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a51390a61dcb285692dd180721bf6aec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14353, "upload_time": "2019-08-05T12:43:04", "url": "https://files.pythonhosted.org/packages/f3/e6/17de87416f8075caea9fc15c4dbc256f51bff4a03489ed59e0b264940933/git_x-0.0.9-py2.py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "ea2104c63a56cb740e58be56fe594ff3", "sha256": "f6c429004a6c4b1a2fe20408c4da43e4880fae08ee4159546d06a4108ee42d23" }, "downloads": -1, "filename": "git_x-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea2104c63a56cb740e58be56fe594ff3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15406, "upload_time": "2019-08-06T11:10:21", "url": "https://files.pythonhosted.org/packages/2c/6d/f188456ebb704ad87ce3a05c53b4545aa4a98b999763968bfaa0f69060c3/git_x-0.1.0-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2295ec21e41e318afdb984475c20f9f5", "sha256": "c04adec4569f5c7d3b872ae60063e7ff85e662c65f7e623e0afab0faa5388752" }, "downloads": -1, "filename": "git_x-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2295ec21e41e318afdb984475c20f9f5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15400, "upload_time": "2019-08-06T23:19:43", "url": "https://files.pythonhosted.org/packages/c6/10/be2f5c93aecfe80895a36e10372067533b12a7a901fe5f691376d585be39/git_x-0.1.1-py2.py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "637bb6c8df39b1e62a7fb620c0d580a3", "sha256": "139d01f6766b6d1f0db7296a30f4e19f7efdebf6d6b490e04d892527179b5589" }, "downloads": -1, "filename": "git_x-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "637bb6c8df39b1e62a7fb620c0d580a3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19229, "upload_time": "2019-08-17T08:36:17", "url": "https://files.pythonhosted.org/packages/ee/09/463cb5d643ed0add879840c27031149ff5312856ef1bc6c04e1e9a0facc6/git_x-0.2.0-py2.py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "9a35da39dab59e673099737872ec4589", "sha256": "7ae66bc7e79b4bc66c9964fe88e16820e13eefbab731caabe0ec1ab0bf71de6b" }, "downloads": -1, "filename": "git_x-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9a35da39dab59e673099737872ec4589", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16436, "upload_time": "2019-09-06T14:10:02", "url": "https://files.pythonhosted.org/packages/2f/bc/8609180f4176bcaa71f204061418199d387609690eba5c7cb15bfd479b45/git_x-0.3.0-py2.py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2c319b95034e59f258ad6cb9a8931017", "sha256": "7ae1cff409342d7fd74ab2577d45d758d109cdc51676a0beff271872126c021d" }, "downloads": -1, "filename": "git_x-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c319b95034e59f258ad6cb9a8931017", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16635, "upload_time": "2019-09-06T14:13:56", "url": "https://files.pythonhosted.org/packages/48/32/ee57d1916f6b2186f7a3545fe332e7e371145038d9a6161d10433cd51429/git_x-0.3.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2c319b95034e59f258ad6cb9a8931017", "sha256": "7ae1cff409342d7fd74ab2577d45d758d109cdc51676a0beff271872126c021d" }, "downloads": -1, "filename": "git_x-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c319b95034e59f258ad6cb9a8931017", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16635, "upload_time": "2019-09-06T14:13:56", "url": "https://files.pythonhosted.org/packages/48/32/ee57d1916f6b2186f7a3545fe332e7e371145038d9a6161d10433cd51429/git_x-0.3.1-py2.py3-none-any.whl" } ] }