如何用 git 配置 lazygit?

如何用 git 配置 lazygit?

lazygit 应用程序是一个易于使用的 git 客户端。

我有一个.gitconfig文件:

[user]
  email = [email protected]
  name = Stephane Eybert
[alias]
  ss = status
  ap = add -p
  co = checkout
  unadd = reset
[core]
  pager = delta
  whitespace = cr-at-eol
  editor = vim
[filter "lfs"]
  process = git-lfs filter-process
  required = true
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
[merge]
  conflictStyle = diff3
  tool = meld
[push]
  ff = only
[fetch]
  prune = true
[diff]
  color = true
  tool = vimdiff
[color]
  diff = auto
  status = always
  branch = auto
[delta]
  side-by-side = true
  line-numbers = true
  navigate = true
  light = true

我有一个~/.config/lazygit/config.yml文件:

git:
  showIcons: true
  paging:
    useConfig: true

但感觉这个配置被忽略了。

答案1

这是正确的格式

gui:
  showIcons: true
git:
  paging:
    useConfig: true

更多信息请访问文档

相关内容