-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
git-fetch: add example for updating another branch #19155
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
Conversation
9b3a26c to
02a9d74
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Managor <[email protected]>
|
.....but wouldn't this now say that the branch can't be changed, since it isn't in |
|
No. The point is to match the description. If the description is explixit, then the example command is explicit as well. |
|
For the record, I do agree with @sbrl that it feels awkward to not mark the "main" as placeholders just because the description refers to that explicitly. I believe we are yet to define a single standard for how to specify command arguments —i.e. use concrete examples or more generic placeholder names— and whether to mark that difference using the placeholder syntax. For example, it feels almost backward that in the It's almost as we're saying that the part that is core to that example, in terms of determining its behavior (i.e. the But hey, that's a discussion for another time and place. I just wanted to make my thoughts explicit since the point was raised here. |
Checklist
common,linux,osx,windows,sunos,android, etc.Reference issue: #