如何使用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

更多資訊可以在文件

相關內容