sh 系统,Git,Git LFS,NPM,Grunt,Bower和ngrok的bash函数和别名

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 系统,Git,Git LFS,NPM,Grunt,Bower和ngrok的bash函数和别名相关的知识,希望对你有一定的参考价值。

# Functions
# -- System
local() { cd /c/xampp/htdocs ; }

# Aliases
# -- System
alias ll='ls -l'
alias ls='ls -F --color --show-control-chars'

# -- Git
alias ga='git add'
alias gaa='git add --all'
alias gb='git branch'
alias gc='git commit'
alias gcam='git commit -a -m'
alias gch='git checkout'
alias gcl='git clone'
alias gcm='git commit -m'
alias gd='git diff'
alias gf='git fetch'
alias gi='git init'
alias gl='git log'
alias gm='git merge'
alias gpl='git pull'
alias gplo='git pull origin master'
alias gps='git push'
alias gpso='git push origin master'
alias grh='git reset --hard'
alias gs='git status'
alias gt='git tag'

# -- Git LFS
alias gl='git lfs'
alias glc='git lfs clone'
alias glch='git lfs checkout'
alias glf='git lfs fetch'
alias gli='git lfs install'
alias glpl='git lfs pull'
alias glps='git lfs push'
alias gls='git lfs status'
alias glt='git lfs track'

# -- NPM
alias ni='npm install'
alias nisd='npm install --save-dev'

# -- Grunt
alias gr='grunt'
alias grw='grunt watch'

# -- Bower
alias bi='bower install'
alias bis='bower install --save'
alias bisd='bower install --save-dev'

# -- ngrok
alias ngrok='/c/Program\ Files/ngrok/ngrok.exe'

以上是关于sh 系统,Git,Git LFS,NPM,Grunt,Bower和ngrok的bash函数和别名的主要内容,如果未能解决你的问题,请参考以下文章

sh git_lfs.sh

sh git lfs

sh npm #npm #git

git-lfs 离线安装

git-lfs 离线安装

Git LFS的使用