Skip to main content

License

GitHub license

CI

travis

Packages

PyPI PyPI - Format PyPI - Python Version

git-x - a set of handy git extensions.

Installation

pip install git-x --upgrade

How to Use

Show help message

Run

git-x

, or ignore the - in git-x:

git x

It will output the help message, which showing all the available commands:

$ git x
Usage: git-x [OPTIONS] COMMAND [ARGS]...

Options:
  -h  Show this message and exit.

Commands:
  a      Add file contents to the index
  amend  Amend files into repository
  b      Show current branch name
  ci     Commit all the indexed files
  cia    Add files into index and commit
  clb    Clean merged local branch.
  co     Checkout/Create branch
  llg    Show recent <number> logs
  m      Merge codes from branch <from> to current branch
  p      Pull latest code
  pr     Create pull request from current branch to <to_branch>
  st     Show the working tree status
  up     Create remote branch

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.

Run commands

git-x includes a list of commands, let’s take st as an example:

There are several ways to run the command:

1. Run with git-x

Run

git x st -h

Or,

git-x st -h

It will output the help doc of st command:

$ git x st -h
Usage: git-x st [OPTIONS]

  Show file status, same as 'git status'

Options:
  -h  Show this message and exit.

2. Run with git- or git

You may see that in the Usage line, it shows git-st, which means that you can run the commands listed above with git-:

git-st -h

Or, even run with git:

git st -h

They both output the help doc of st command:

$ git-st -h
Usage: git-st [OPTIONS]

  Show file status, same as 'git status'

Options:
  -h  Show this message and exit.

Usages of all commands

Please read the Usage to see all the available commands.

Notice:

You need to install git cli tool first, as all the commands will call the native git commands eventually.

Finally, happy git-ing with git-x.

Metadata

Release files for git-x 0.3.202210191319

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for git-x 0.3.202210191319
File Interpreter ABI Platform Actions
git_x-0.3.202210191319-py2.py3-none-any.whl Python 2, Python 3 none any Details for git_x-0.3.202210191319-py2.py3-none-any.whl

Release files / git_x-0.3.202210191319-py2.py3-none-any.whl

Download URL git_x-0.3.202210191319-py2.py3-none-any.whl
Size 16.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a8e42073878f1e685bd27182e158a9b9f0c61f6cd49b2cd6a68ea298bca2f2cb
BLAKE2b-256 checksum
How to use checksums
90255f822603759435c9ee5d9d6585754de3c3989acb059e59541b3d0e20c5c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for git-x 0.3.202210191319

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page