dmv.community is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small regional Mastodon instance for those in the DC, Maryland, and Virginia areas. Local news, commentary, and conversation.

Administered by:

Server stats:

162
active users

willkalming

Ever find yourself in a situation where you prefer the (dangerous) flexibility of rebasing onto a target branch before merge, but still need to generate merge commits for your more visually git graph-oriented teammates? This seems to work nicely for me:

in .git/config
```
[includeIf "onbranch:branch-glob-*"]
path = merge-ff.config
```

in .git/merge-ff.config
```
[merge]
ff = false
[pull]
ff = only
```

you can also set `pull.ff = true` if you are ok with merge commits on pull. Enjoy!