zoukankan      html  css  js  c++  java
  • git配置别名

    每次申请一个新的开发机(docker)都要手动配置一遍git别名,所以写了一个脚本文件git_alias_config.sh,以后直接运行此脚本,为防止以后用的时候再写,记录于此

    #!/bin/bash
    set -v
    git config --global alias.st status
    git config --global alias.co checkout
    git config --global alias.ci commit
    git config --global alias.br branch
    git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
    git config --global alias.sub submodule
  • 相关阅读:
    ThinkPHP
    ThinkPHP
    静态化
    静态化
    静态化
    设计模式
    sublime
    静态化
    OPTIMIZE TABLE 小解
    information_schema系列八(事物,锁)
  • 原文地址:https://www.cnblogs.com/guoliushui/p/10985314.html
Copyright © 2011-2022 走看看