实际上就是弄了个别名
$ git config --global
 alias.st status
$ git config --global
 alias.ci commit
$ git config --global
 alias.df diff
$ git config --global
 alias.co checkout
$ git config --global
 alias.br branch
临时性的设置的话就不要加--global 参数,比如
$ git config user.name "2"
$ git config user.email "2@g.cn"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-01-20
  • 2021-11-14
  • 2021-11-06
相关资源
相似解决方案