Skip to content
Discussion options

You must be logged in to vote

It looks like gitgraph is including the --no-ff option in its merge command, and lazygit doesn't. I like lazygit's approach better, because users who want this behavior can configure it on the git level by saying git config --global merge.ff false.

If you don't want to set it globally for all git clients, you can instead configure it for lazygit only by putting

git:
  merging:
    args: '--no-ff'

into your lazygit config file; see https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#default.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hopezh
Comment options

@stefanhaller
Comment options

@hopezh
Comment options

Answer selected by hopezh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants