Metadata-Version: 2.1
Name: xgit
Version: 0.1.3
Summary: An opinionated command line tools to make your life easier with Git and Gitignore
Home-page: https://github.com/patarapolw/xgit
License: MIT
Keywords: git
Author: Pacharapol Withayasakpunt
Author-email: patarapolw@gmail.com
Requires-Python: >=3.5,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: requests (>=2.21,<3.0)
Project-URL: Repository, https://github.com/patarapolw/xgit
Description-Content-Type: text/markdown

# 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/](/xgit/gitignore/).
- To learn more about my experience with Git, see <https://github.com/patarapolw/SimpleGit>

