Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fast-forward rebase instead of GitHub's PRs for (maintainer/local) development #12

Open
emansom opened this issue Jan 8, 2022 · 1 comment

Comments

@emansom
Copy link

emansom commented Jan 8, 2022

See this post that goes into detail on the how and why.

Recommended git extension here. (should be available in brew, winget/scoop, AUR, etc)

Fast-forward rebase instead of merging avoids redundant commits to be created, there's also a toggle in the GitHub web UI somewhere to enforce this on PRs.

~/.gitrc required addition (avoids local Git creating merge commits during conflict auto-merging):

[pull]
        ff = only
@emansom emansom changed the title Use local fast-forward rebase instead of GitHub's PRs Use local fast-forward rebase instead of GitHub's PRs for (maintainer/local) development Jan 8, 2022
@emansom emansom changed the title Use local fast-forward rebase instead of GitHub's PRs for (maintainer/local) development Use fast-forward rebase instead of GitHub's PRs for (maintainer/local) development Jan 8, 2022
@jtieri
Copy link
Owner

jtieri commented Jan 8, 2022

This looks interesting, gonna read more into this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants