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

Add negative refspec examples to 10.5 Git Internals - The Refspec #1816

Open
michaelblyons opened this issue Dec 13, 2022 · 0 comments
Open

Comments

@michaelblyons
Copy link

General overview of your idea.

Since Git v2.29.0, it has been possible to add negative refspec markers to the fetch config. These are modestly popular, but the documentation is buried in a multi-paragraph explanation on a fairly obscure doc page. Please consider adding a subheading and/or some examples to the relevant section of the Git Book.

What problem will this solve?

Negative refspecs are a fairly helpful tool for people whose upstream branches are not optimally named1. It's a shame that the feature is not more widely covered.

Have you thought about other solutions?

Please feel totally free2 to lift, adapt, etc. the text from my Stack Overflow example if that's helpful.

Do you want to help with this enhancement idea?

Maybe

Footnotes

  1. This isn't the user's fault. It's the project's fault.

  2. For the purposes of this project, any copyright I hold on that answer is waived.

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

No branches or pull requests

1 participant