Ecosyste.ms: Awesome

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

https://github.com/sharif3271/git-gen

an oh-my-zsh plugin for handling bulk operations of git
https://github.com/sharif3271/git-gen

Last synced: about 2 months ago
JSON representation

an oh-my-zsh plugin for handling bulk operations of git

Lists

README

        

# git-gen
an oh-my-zsh plugin for handling bulk operations of git.
Actually for my self, every week I need to create and remove batch of branches. then I have written a function in zsh as an oh-my-zsh custom plugin.
Enjoy it!

## how to use
it is easy if you are using **oh-my-zsh**.
in your terminal:
```
cd $HOME/.oh-my-zsh/custom/plugins
```
then
```
git clone https://github.com/sharif3271/git-gen.git
```
then edit .zshrc on ```$HOME/.zshrc```

```
plugins=(
.
.
.
git-gen
)

```
Done!!

## examples

make_branches source-branch my-branch1 my-branch2 my-branch3 ...

```
make_branches master T22-sample-1 T22-sample-2
```

and for deleting:
```
delete_branches T22-sample-1 T22-sample-2
```