gitconfig配置

  [user]
       name = username
       email = [email protected]
  [url "http://[email protected]:29422/"]
  ...

  [alias]
          co = checkout
          br = branch
          ci = commit
          st = status
  [core]
          editor = vim
  [color]
          ui = auto
  [alias]
          lg = log --oneline --pretty=format:'%Cred%h%Creset %C(green)%s%Creset %C(yellow)<%an %cr>'

猜你喜欢

转载自blog.csdn.net/m0_46208463/article/details/137051935