https://github.com/jsmith/ginteract
An interactive Git client :)
https://github.com/jsmith/ginteract
Last synced: 4 months ago
JSON representation
An interactive Git client :)
- Host: GitHub
- URL: https://github.com/jsmith/ginteract
- Owner: jsmith
- License: mit
- Created: 2018-07-06T00:49:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T06:56:50.000Z (almost 7 years ago)
- Last Synced: 2026-01-31T19:34:39.425Z (5 months ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Checkout
An interactive Git client!
## Installation
Requirements: Python 3.*
Run this scripts https://git.io/fNfqh:
```
wget -L https://git.io/fNfqh -O- | bash
# or (if you don't have wget)
source <(curl -s https://git.io/fNfqh)
```
This script installs `ginteract` with `--user`. Thus, you need to make sure that your python bin folder is in your `PATH`. Add the following `export` to your shell startup script (ie. `.bashrc`, `.zshrc`).
```
# MacOS
export PATH="/Users//Library/Python//bin:$PATH"
# Linux
export PATH="/home//Library/Python//bin:$PATH"
```
> To find our where `ginteract` is installed, run `python3 -c "import ginteract; print(ginteract.__file__)"`. This will print out something like `/Users/jacob/Library/Python/3.7/lib/python/site-packages/ginteract/__init__.py`.
## Usage
```
git ch # checkout a branch
git mg # merge a branch into current branch
git dl # delete branches
# or use the commands directly
ginteract checkout
ginteract merge
ginteract delete
```
## TODO
- [x] Add GIF
- [x] Add tests
- [x] Bash script to install
- [x] Add delete support
- [x] Add merge support
- [ ] Remote support
