Skip to content

Instantly share code, notes, and snippets.

@dotku
Created February 3, 2016 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dotku/53aec4f8698270b11dbe to your computer and use it in GitHub Desktop.
Save dotku/53aec4f8698270b11dbe to your computer and use it in GitHub Desktop.
Windows 下的 bashrc
# 把这个文件复制黏贴到系统的 .bashrc,或放在 C:\Users\%USERNAME% 目录下
# gac 添加,并备注
# gps 上传到代码仓库
alias gfp='git fetch && git pull' # 下载更新
alias gac='git add . && git commit -m' # 栗子: gac '举了一个栗子'
alias gps='git push' # 栗子: gp 栗子源 栗子分支
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment