An open API service indexing awesome lists of open source software.

https://github.com/jinseok9338/gitty

Gitty is a simple git CLI tool that allows you to pull and delete branches you choose
https://github.com/jinseok9338/gitty

cargo git rust

Last synced: about 2 months ago
JSON representation

Gitty is a simple git CLI tool that allows you to pull and delete branches you choose

Awesome Lists containing this project

README

          

# Gitty

Gitty is a simple git CLI tool that allows you to
1. clone the project and pull branches you need out of the gate.
2. sync with local branches with remote branches that are fetched --all --prune.
3. delete the branches you don't need anymore.

## Installation

Gitty is standard rust project. You can install it with cargo.

```bash

cargo build --release

```

## Configuration
1. In order to access private repo, you need to provide the auth token in the either your .bashrc or .zshrc file or you can add it to the environment variable.

```bash
# .bashrc or .zshrc
export GITHUB_ACCESS_TOKEN=your_token
```

then source your .bashrc or .zshrc file

```bash
# or .zshrc
source ~/.bashrc
```

## Usage
### you can can clone the repo to the directory you desire and pull the branches that you can choose from the command prompt
https://user-images.githubusercontent.com/27854958/216049428-6000dbad-23d5-4be3-9d2b-1e4b9d415713.mov

### you can sync with the local branches with remote branches that are fetched with prune, so it will always have the freshest remote branches
https://user-images.githubusercontent.com/27854958/216049920-e559cb46-87c3-42c3-b81a-44cc23be20af.mov

### you can delete local branches that you don't need anymore
https://user-images.githubusercontent.com/27854958/216050925-db882257-f6d2-4793-8573-f46c06d72b45.mov

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)