An opinionated command line tools to make your life easier with Git and Gitignore
Project description
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
.gitignore
is generated from https://www.gitignore.io/, but this project also allows me to generate a custom.gitignore
based on /xgit/gitignore/.- To learn more about my experience with Git, see https://github.com/patarapolw/SimpleGit
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xgit-0.1.5.tar.gz
(4.2 kB
view details)
Built Distribution
xgit-0.1.5-py3-none-any.whl
(8.9 kB
view details)
File details
Details for the file xgit-0.1.5.tar.gz
.
File metadata
- Download URL: xgit-0.1.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898b0fe33998c67822d8480e0325bb9f0ffc0f498e56ebcb46a0df21fc532ff3 |
|
MD5 | 73e4776d89efb301d6a56e4d6a6ec579 |
|
BLAKE2b-256 | ba3e2faa9794965d70ecbfc20807911e1637b740c2468078030a5bf7b7055773 |
File details
Details for the file xgit-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: xgit-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a1a1bf3a78fd989feda003874fbad996b77decc6f9735764e1f96756b600d76 |
|
MD5 | 8786c6512d1eba6d025f67d02e46f020 |
|
BLAKE2b-256 | 9b5348d850b566bd04afa30318d569cbac4da77394e83cc3a9753e654099d4a2 |