20 points | by ankitg12 6 hours ago
3 comments
#~/.config/git/config [rerere] enabled = true autoUpdate = true
[pull] rebase = true [rebase] autoSquash = true autoStash = true [merge] # zdiff3 adds original text markers and removes matching lines from conflict regions # https://git-scm.com/docs/git-config#Documentation/git-config.txt-mergeconflictStyle conflictStyle = zdiff3 autoStash = true [push] autoSetupRemote = true default = simple [init] defaultBranch = main
I'm using these options https://blog.gitbutler.com/how-git-core-devs-configure-git and I'm happy with it
Every time I think I am adept in git, something like this is shown to me. I really should read into it more lol.
I'm using these options https://blog.gitbutler.com/how-git-core-devs-configure-git and I'm happy with it
Every time I think I am adept in git, something like this is shown to me. I really should read into it more lol.