gitkit icon indicating copy to clipboard operation
gitkit copied to clipboard

MasterOnly > MainOnly

Open till opened this issue 2 years ago • 5 comments

Hey,

would you consider a contribution if I either renamed it or added support alongside it?

Also, would you mind rolling another tag at some point?

till avatar Feb 03 '23 19:02 till

Do you have a bit more context behind the rename? I do accept PRs if they make sense.

sosedoff avatar Feb 03 '23 20:02 sosedoff

For example this: https://github.com/github/renaming

till avatar Feb 03 '23 22:02 till

That seems reasonable.

We could take a step further and allow setting the required branch, something along the line of cfg.AllowedBranches = ["main"] or cfg.AllowedBranches = func(name) bool.

sosedoff avatar Feb 03 '23 22:02 sosedoff

I like that idea. I can poke around!

till avatar Feb 04 '23 12:02 till

Made a pass. I'll leave some comments in the PR: #34

till avatar Feb 05 '23 17:02 till