xgit
An opinionated command line tools to make your life easier with Git and Gitignore
Installation
Install as global from pip.
pip3 install xgit
Or clone the repo, and install from the clone (and you may also edit as you wish).
git clone https://github.com/patarapolw/xgit.git
pip3 install -e xgit
Usage
$ xgit -h
Acceptable commands:
xgit init Initialize new git along with .gitignore
xgit commit message Commit to git with the following message
xgit cpush message Commit and push to git with the following message
xgit gi Generate gitignore from files in the directory
xgit push Push changes to origin
xgit Prompt for choices
$ xgit
What do you want to do?
1. Initialize Git
2. Commit current changes
3. Commit current changes and push to remote
4. Generate and commit .gitignore
5. Push to remote
Please select [1-5]:
Note
.gitignoreis generated from https://www.gitignore.io/, but this project also allows me to generate a custom.gitignorebased on /xgit/gitignore/.- To learn more about my experience with Git, see https://github.com/patarapolw/SimpleGit
Metadata
Release files for xgit 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xgit-0.1.5.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xgit-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / xgit-0.1.5.tar.gz
| Download URL | xgit-0.1.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
898b0fe33998c67822d8480e0325bb9f0ffc0f498e56ebcb46a0df21fc532ff3
|
|
BLAKE2b-256 checksum How to use checksums |
ba3e2faa9794965d70ecbfc20807911e1637b740c2468078030a5bf7b7055773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|
Release files / xgit-0.1.5-py3-none-any.whl
| Download URL | xgit-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a1a1bf3a78fd989feda003874fbad996b77decc6f9735764e1f96756b600d76
|
|
BLAKE2b-256 checksum How to use checksums |
9b5348d850b566bd04afa30318d569cbac4da77394e83cc3a9753e654099d4a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|