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.
You can install cgitc via various plugin managers.
git clone https://github.com/simnalamburt/cgitc.git --depth=1 ~/.cgitc
cat <<< 'source ~/.cgitc/init.bash' >> ~/.bashrc
Zsh, zinit
zinit light simnalamburt/cgitc
# (Optional) It'll be more useful with zsh-expand-all
zinit light simnalamburt/zsh-expand-all
Fish, chips
# Update your '~/.config/chips/plugin.yaml'
github:
- simnalamburt/cgitc
Fish, oh-my-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.