Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simnalamburt/cgitc

:shipit: Close Git Combat
https://github.com/simnalamburt/cgitc

bash fish zsh

Last synced: 10 days ago
JSON representation

:shipit: Close Git Combat

Awesome Lists containing this project

README

        


Close Git Combat

**cgitc** is set of useful git aliases for [bash], [zsh] and [fish]. It provides
professional and swift git usage.

```
g = git

gst = git status
gd = git diff
gdca = git diff --cached
gc = git commit -v
gup = git pull --rebase
glog = git log --oneline --decorate --color --graph
gsta = git stash
gstp = git stash pop

(etc)
```

cgitc is fork of [oh-my-zsh]'s [git plugin].


Installation
--------
You can install cgitc via various plugin managers.

#### Bash
```bash
git clone https://github.com/simnalamburt/cgitc.git --depth=1 ~/.cgitc
cat <<< 'source ~/.cgitc/init.bash' >> ~/.bashrc
```

#### Zsh, [zinit]
```zsh
zinit light simnalamburt/cgitc

# (Optional) It'll be more useful with zsh-expand-all
zinit light simnalamburt/zsh-expand-all
```

#### Fish, [chips]
```yaml
# Update your '~/.config/chips/plugin.yaml'
github:
- simnalamburt/cgitc
```

#### Fish, [oh-my-fish]
```fish
omf install https://github.com/simnalamburt/cgitc
```


--------
*cgitc* is primarily distributed under the terms of both the [MIT license]
and the [Apache License (Version 2.0)]. *cgitc emblem* © 2017 [XT]. See
[COPYRIGHT] for details.

[bash]: https://www.gnu.org/software/bash/
[zsh]: https://www.zsh.org
[fish]: https://fishshell.com
[zinit]: https://github.com/zdharma/zinit
[chips]: https://github.com/xtendo-org/chips
[oh-my-fish]: https://github.com/oh-my-fish/oh-my-fish
[oh-my-zsh]: http://ohmyz.sh
[git plugin]: https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
[MIT license]: LICENSE-MIT
[Apache License (Version 2.0)]: LICENSE-APACHE
[COPYRIGHT]: COPYRIGHT
[XT]: https://e.xtendo.org/